summaryrefslogtreecommitdiff
path: root/generator.py
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2008-05-21 20:18:20 +0000
committerDaniel P. Berrange <berrange@redhat.com>2008-05-21 20:18:20 +0000
commit5c0f23049c416c568ec622bc612c5e159eedb42d (patch)
tree76c8fa015536e32b539af4f4d241613e7800d983 /generator.py
parent6bae8ae7d02ecdb640fc597e94f81c2e0a931b1a (diff)
downloadlibvirt-python-5c0f23049c416c568ec622bc612c5e159eedb42d.tar.gz
Don't free C object after destroy method in python
Diffstat (limited to 'generator.py')
-rwxr-xr-xgenerator.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/generator.py b/generator.py
index cb57bff..68a7203 100755
--- a/generator.py
+++ b/generator.py
@@ -628,12 +628,7 @@ function_classes = {}
function_classes["None"] = []
-function_post = {
- 'virDomainDestroy': "self._o = None",
- 'virNetworkDestroy': "self._o = None",
- 'virStoragePoolDestroy': "self._o = None",
- 'virStorageVolDestroy': "self._o = None",
-}
+function_post = {}
# Functions returning an integral type which need special rules to
# check for errors and raise exceptions.