Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/tcf/util/event.py')
-rw-r--r--python/src/tcf/util/event.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/src/tcf/util/event.py b/python/src/tcf/util/event.py
index 3be8d694e..3e5e92118 100644
--- a/python/src/tcf/util/event.py
+++ b/python/src/tcf/util/event.py
@@ -9,7 +9,7 @@
# * Wind River Systems - initial API and implementation
# *******************************************************************************
-import exceptions, threading
+import threading
from tcf import protocol, channel
class DelegatingEventListener(channel.EventListener):
@@ -19,7 +19,7 @@ class DelegatingEventListener(channel.EventListener):
try:
args = channel.fromJSONSequence(data)
self._callable(self.svc_name, name, *args)
- except exceptions.Exception as x:
+ except Exception as x:
protocol.log("Error decoding event data", x)
def _print_event(service, name, *args):
@@ -79,7 +79,7 @@ class Event(object):
self.name = name
try:
self.args = channel.fromJSONSequence(data)
- except exceptions.Exception as x:
+ except Exception as x:
protocol.log("Error decoding event data", x)
def __str__(self):
return "Event: %s.%s%s" % (self.service, self.name, tuple(self.args))

Back to the top