Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Leger2014-03-13 16:43:32 +0000
committerFrederic Leger2014-03-13 16:43:32 +0000
commitc74f4c68cf41d3c7584943d9f6e128b9957b2f8e (patch)
treeea05bd0dc660cf69e7d6ad74b3b17baccc2d0b1e /python/src/tcf/EventQueue.py
parent6f2ca0fd5d13419c2f6a7bd5845079d7ead2a2b9 (diff)
downloadorg.eclipse.tcf-c74f4c68cf41d3c7584943d9f6e128b9957b2f8e.tar.gz
org.eclipse.tcf-c74f4c68cf41d3c7584943d9f6e128b9957b2f8e.tar.xz
org.eclipse.tcf-c74f4c68cf41d3c7584943d9f6e128b9957b2f8e.zip
Python - Misc PEP8 fixes.
Diffstat (limited to 'python/src/tcf/EventQueue.py')
-rw-r--r--python/src/tcf/EventQueue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/src/tcf/EventQueue.py b/python/src/tcf/EventQueue.py
index 1265b1972..7db8da02c 100644
--- a/python/src/tcf/EventQueue.py
+++ b/python/src/tcf/EventQueue.py
@@ -38,7 +38,7 @@ class EventQueue(object):
self.__lock.notifyAll()
self.__thread.join()
except Exception as e:
- from . import protocol
+ import protocol # as protocol import this module too
protocol.log("Failed to shutdown TCF event dispatch thread", e)
def isShutdown(self):
@@ -46,7 +46,7 @@ class EventQueue(object):
return self.__is_shutdown
def __error(self, x):
- from . import protocol
+ import protocol # as protocol import this module too
protocol.log("Unhandled exception in TCF event dispatch", x)
def __call__(self):

Back to the top