Kaydet (Commit) 3d73eda5 authored tarafından Bahadır Kandemir's avatar Bahadır Kandemir

Cancel method

üst 2c267c97
2009-06-11 Bahadır Kandemir <bahadir@pardus.org.tr>
* api: Cancel method
2009-06-04 Bahadır Kandemir <bahadir@pardus.org.tr>
* api: Use polkit-auth
......@@ -169,6 +169,13 @@ class Link:
except dbus.DBusException, exception:
def cancel(self, method="*"):
obj = self.bus.get_object(self.address, '/', introspect=False)
return obj.cancel(method, dbus_interface=self.interface)
except dbus.DBusException, exception:
return 0
def listenSignals(self, model, handler):
def sigHandler(*args, **kwargs):
if "/package/" not in kwargs["path"]:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment