Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/tcf/services/remote/RegistersProxy.py')
-rw-r--r--python/src/tcf/services/remote/RegistersProxy.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/src/tcf/services/remote/RegistersProxy.py b/python/src/tcf/services/remote/RegistersProxy.py
index ae2cfd4e0..f33eea147 100644
--- a/python/src/tcf/services/remote/RegistersProxy.py
+++ b/python/src/tcf/services/remote/RegistersProxy.py
@@ -9,7 +9,6 @@
# * Wind River Systems - initial API and implementation
# *******************************************************************************
-import exceptions
from tcf import channel
from tcf.services import registers
from tcf.channel import toByteArray
@@ -19,7 +18,7 @@ class Context(registers.RegistersContext):
def __init__(self, service, props):
super(Context, self).__init__(props)
self.service = service
-
+
def getNamedValues(self):
return _toValuesArray(self._props.get(registers.PROP_VALUES))
@@ -173,5 +172,5 @@ class ChannelEventListener(channel.EventListener):
self.listener.registerChanged(args[0])
else:
raise IOError("Registers service: unknown event: " + name);
- except exceptions.Exception as x:
+ except Exception as x:
self.service.channel.terminate(x)

Back to the top