summaryrefslogtreecommitdiffstats
path: root/python/proxies.py
diff options
context:
space:
mode:
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()