summaryrefslogtreecommitdiffstats
path: root/python/service.py
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2005-07-20 14:15:08 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2005-07-20 14:15:08 +0000
commitde689235e938f0060ecad6fa0ce1933b700f6e71 (patch)
tree89f51e25d03986e0c2d94717455eff2b7970f0c9 /python/service.py
parent14acf6a2632e9d6ba2f93dca5c5a004744009f8d (diff)
* python/_dbus.py, _util.py, decorators.py, extract.py, matchrules.py.
proxies.py, service.py: Cleanup of code after running it through the pyflakes code checker mostly dealing with undefined names. (Bug #3828, Patch from Anthony Baxter <anthony@interlink.com.au>)
Diffstat (limited to 'python/service.py')
-rw-r--r--python/service.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/service.py b/python/service.py
index f6a1c7fd..edaef63f 100644
--- a/python/service.py
+++ b/python/service.py
@@ -1,6 +1,7 @@
-from decorators import *
import dbus_bindings
+import _dbus
+from exceptions import UnknownMethodException
class BusName:
"""A base class for exporting your own Named Services across the Bus
@@ -10,7 +11,7 @@ class BusName:
if bus == None:
# Get the default bus
- self._bus = Bus()
+ self._bus = _dbus.Bus()
else:
self._bus = bus