oops stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 09 May 2011 14:50:14 +0200
branchstable
changeset 7343 977a49472806
parent 7342 d1c8b5b3531c
child 7345 b9eaad6e34c3
oops
server/test/unittest_repository.py
--- a/server/test/unittest_repository.py	Thu Apr 21 12:35:41 2011 +0200
+++ b/server/test/unittest_repository.py	Mon May 09 14:50:14 2011 +0200
@@ -277,7 +277,7 @@
         cnxid = repo.connect(self.admlogin, password=self.admpassword)
         repo.execute(cnxid, 'INSERT CWUser X: X login "toto", X upassword "tutu", X in_group G WHERE G name "users"')
         repo.commit(cnxid)
-        lock = threading.Lock(), threading.Lock()
+        lock = threading.Lock()
         lock.acquire()
         # close has to be in the thread due to sqlite limitations
         def close_in_a_few_moment():