From a1dfa9cc409eb736911e0be32b45f57a866e34c5 Mon Sep 17 00:00:00 2001 From: aleherbau Date: Thu, 19 May 2011 12:48:10 +0000 Subject: TCF Python: Implemented Memory and MemoryMap service proxies, code cleanup --- python/src/tcf/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/src/tcf/__init__.py') 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() -- cgit v1.2.3