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/proxies.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/proxies.py') 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() -- cgit