Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

python: avoid calling remove_from_connection twice

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  • Loading branch information...
commit fb837a0275c65d7e39684681d06d7d7fe472420b 1 parent 856df26
@djs55 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  dbus/vm/python/dbus-resource-script.py
View
2  dbus/vm/python/dbus-resource-script.py
@@ -220,13 +220,13 @@ def cancel(self):
@dbus.service.method(dbus_interface=TASK_INTERFACE)
def destroy(self):
- self.auto_destroy = True
taskMonitor.remove(self, self.owner_uri)
if self.completed:
info("%s: destroy: task complete, removing object" % self.path)
self.remove_from_connection()
return
+ self.auto_destroy = True
@dbus.service.method(dbus_interface=TASK_INTERFACE)
def getResult(self):
Please sign in to comment.
Something went wrong with that request. Please try again.