diff options
author | aleherbau | 2011-05-19 12:48:10 +0000 |
---|---|---|
committer | aleherbau | 2011-05-19 12:48:10 +0000 |
commit | a1dfa9cc409eb736911e0be32b45f57a866e34c5 (patch) | |
tree | 97b7fa6c87076479630bdbc6a098d454264798e5 /python/src/tcf/errors.py | |
parent | 506dcea466abc2e93a508ddfbe2814d1046f3635 (diff) | |
download | org.eclipse.tcf-a1dfa9cc409eb736911e0be32b45f57a866e34c5.tar.gz org.eclipse.tcf-a1dfa9cc409eb736911e0be32b45f57a866e34c5.tar.xz org.eclipse.tcf-a1dfa9cc409eb736911e0be32b45f57a866e34c5.zip |
TCF Python: Implemented Memory and MemoryMap service proxies, code cleanup
Diffstat (limited to 'python/src/tcf/errors.py')
-rw-r--r-- | python/src/tcf/errors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/src/tcf/errors.py b/python/src/tcf/errors.py index 53c856000..bac4b5be3 100644 --- a/python/src/tcf/errors.py +++ b/python/src/tcf/errors.py @@ -9,7 +9,7 @@ # * Wind River Systems - initial API and implementation
# *******************************************************************************
-import exceptions, cStringIO, time, types
+import cStringIO, time, types
# Error report attribute names
ERROR_CODE = "Code" # integer
@@ -72,7 +72,7 @@ TCF_ERROR_NOT_ACTIVE = 28 _timestamp_format = "%Y-%m-%d %H:%M:%S"
-class ErrorReport(exceptions.Exception):
+class ErrorReport(Exception):
def __init__(self, msg, attrs):
super(ErrorReport, self).__init__(msg)
if type(attrs) is types.IntType:
|