From de689235e938f0060ecad6fa0ce1933b700f6e71 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Wed, 20 Jul 2005 14:15:08 +0000 Subject: * 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 ) --- python/service.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python/service.py') 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 -- cgit