summaryrefslogtreecommitdiffstats
path: root/python/proxies.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/proxies.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/proxies.py')
-rw-r--r--python/proxies.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/proxies.py b/python/proxies.py
index 688dd8ab..95c98a9c 100644
--- a/python/proxies.py
+++ b/python/proxies.py
@@ -1,4 +1,5 @@
import dbus_bindings
+from exceptions import MissingReplyHandlerException, MissingErrorHandlerException
class ProxyMethod:
"""A proxy Method.
@@ -29,7 +30,7 @@ class ProxyMethod:
if not(reply_handler and error_handler):
if reply_handler:
- raise MissingErrorself, HandlerException()
+ raise MissingErrorHandlerException()
elif error_handler:
raise MissingReplyHandlerException()