From f06f148871c42ca76c7f7471ca7d0acb66fce8c4 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Thu, 23 Dec 2004 00:50:37 +0000 Subject: * patch from Rob Taylor - wrap bus_get_unix_user method in low level bindings - add get_unix_user method to the Bus class - fix extract.py so it can handle unsigned long return types --- python/dbus.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/dbus.py') diff --git a/python/dbus.py b/python/dbus.py index 4b538970..c8ac561a 100644 --- a/python/dbus.py +++ b/python/dbus.py @@ -99,6 +99,10 @@ class Bus: def get_connection(self): """Get the dbus_bindings.Connection object associated with this Bus""" return self._connection + + def get_unix_user(self, service_name): + """Get the unix user for the given service_name on this Bus""" + return dbus_bindings.bus_get_unix_user(self._connection, service_name) def _get_match_rule(self, signal_name, interface, service, path): match_rule = "type='signal'" -- cgit