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/__init__.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/__init__.py')
-rw-r--r-- | python/src/tcf/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/src/tcf/__init__.py b/python/src/tcf/__init__.py index 9c0c5a472..5918652db 100644 --- a/python/src/tcf/__init__.py +++ b/python/src/tcf/__init__.py @@ -13,7 +13,7 @@ TCF - Target Communication Framework
"""
-import types, exceptions
+import types
import protocol, peer, channel
from util import task
@@ -25,7 +25,7 @@ def connect(params, wait=True): if type(params) is types.StringType:
params = _parse_params(params)
elif type(params) is not types.DictType:
- raise exceptions.TypeError("Expected string or dict")
+ raise TypeError("Expected string or dict")
p = peer.TransientPeer(params)
if wait:
c = task.Task(_openChannel, p).get()
|