summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2007-07-24 15:32:55 +0000
committerDaniel Veillard <veillard@redhat.com>2007-07-24 15:32:55 +0000
commitba4524b0d1fc21115326596d089e36b73844716f (patch)
tree41862b5b1ec626636e44e9073b23cd3002abd936
parent61177b29d4fb30df3f6c0324981117046590c306 (diff)
downloadlibvirt-python-v6-ba4524b0d1fc21115326596d089e36b73844716f.tar.gz
libvirt-python-v6-ba4524b0d1fc21115326596d089e36b73844716f.tar.xz
libvirt-python-v6-ba4524b0d1fc21115326596d089e36b73844716f.zip
* libvirt.spec.in NEWS docs/* po/*: preparing release 0.3.1v0.3.2v0.3.1LIBVIRT_0_3_2LIBVIRT_0_3_1
* src/libvirt.c python/generator.py: some cleanup and warnings from Richard W.M. Jones Daniel
-rwxr-xr-xgenerator.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/generator.py b/generator.py
index 4f7c129..3dc3212 100755
--- a/generator.py
+++ b/generator.py
@@ -870,10 +870,6 @@ def buildWrappers():
txt.write("Class %s()\n" % (classname))
classes.write("class %s:\n" % (classname))
if classname == "virDomain" or classname == "virNetwork":
- # NB: Earlier versions of libvirt did not provide
- # vir{Domain,Network}GetConnect, so we had to explicitly
- # store the connection object in _conn. In future
- # we won't need to do this.
classes.write(" def __init__(self, conn, _obj=None):\n")
else:
classes.write(" def __init__(self, _obj=None):\n")