summaryrefslogtreecommitdiff
path: root/community/libvirt/python.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libvirt/python.patch')
-rw-r--r--community/libvirt/python.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/libvirt/python.patch b/community/libvirt/python.patch
new file mode 100644
index 000000000..c791a54e9
--- /dev/null
+++ b/community/libvirt/python.patch
@@ -0,0 +1,22 @@
+diff --git a/python/generator.py b/python/generator.py
+index 5d27f66..71ca883 100755
+--- a/python/generator.py
++++ b/python/generator.py
+@@ -123,7 +123,7 @@ class docParser(xml.sax.handler.ContentHandler):
+ self.function_return_field = attrs['field']
+ elif tag == 'enum':
+ if (attrs['file'] == "libvirt" or
+- attrs['file'] == "virterror"):
++ attrs['file'] == "virerror"):
+ enum(attrs['type'],attrs['name'],attrs['value'])
+ elif attrs['file'] == "libvirt-lxc":
+ lxc_enum(attrs['type'],attrs['name'],attrs['value'])
+@@ -137,7 +137,7 @@ class docParser(xml.sax.handler.ContentHandler):
+ if self.function != None:
+ if (self.function_module == "libvirt" or
+ self.function_module == "virevent" or
+- self.function_module == "virterror"):
++ self.function_module == "virerror"):
+ function(self.function, self.function_descr,
+ self.function_return, self.function_args,
+ self.function_file, self.function_module,