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-split-0.3.2.tar.gz
libvirt-python-split-0.3.2.tar.xz
libvirt-python-split-0.3.2.zip
* libvirt.spec.in NEWS docs/* po/*: preparing release 0.3.1v0.3.2v0.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")