Commit 8f1dd61a authored by Vincent Pelletier's avatar Vincent Pelletier

Move threading import to top level.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2174 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6d330027
......@@ -25,6 +25,7 @@ import MySQLdb
import unittest
import tempfile
import traceback
import threading
from neo.neoctl.neoctl import NeoCTL, NotReadyException
from neo.protocol import ClusterStates, NodeTypes, CellStates
......@@ -526,7 +527,6 @@ class NEOFunctionalTest(unittest.TestCase):
return temp_dir
def runWithTimeout(self, method, timeout):
import threading
thread = threading.Thread(None, method)
thread.setDaemon(True)
thread.start()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment