Repository :
http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
---------------------------------------------------------------
commit 88b151733b5d9e2858393ccb5c3196127124880f
Author: Peter Hatina <phatina(a)redhat.com>
Date: Mon Sep 30 10:58:25 2013 +0200
fix missing return value from LMIInstance.delete()
---------------------------------------------------------------
cli/lmi/shell/LMIInstance.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/cli/lmi/shell/LMIInstance.py b/cli/lmi/shell/LMIInstance.py
index 037b58a..e15a960 100644
--- a/cli/lmi/shell/LMIInstance.py
+++ b/cli/lmi/shell/LMIInstance.py
@@ -665,8 +665,9 @@ class LMIInstance(LMIWrapperBaseObject):
Raised exceptions:
LMIDeletedObjectError
"""
- rval = self._conn._client._delete_instance(self.path)
- self._deleted = rval.rval == 0
+ (rval, rparams, errorstr) = self._conn._client._delete_instance(self.path)
+ self._deleted = rval == 0
+ return self._deleted
@property
def is_deleted(self):