Rev 5659: Fix pqm failure on python2.4. in file:///home/vila/src/bzr/experimental/thread-with-exception/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Feb 11 16:15:39 UTC 2011
At file:///home/vila/src/bzr/experimental/thread-with-exception/
------------------------------------------------------------
revno: 5659
revision-id: v.ladeuil+lp at free.fr-20110211161539-26o5a28ihyemvuzg
parent: v.ladeuil+lp at free.fr-20110210123727-8e0pu4wtlt6fj7nf
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: thread-with-exception
timestamp: Fri 2011-02-11 17:15:39 +0100
message:
Fix pqm failure on python2.4.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_cethread.py'
--- a/bzrlib/tests/test_cethread.py 2011-02-10 12:37:27 +0000
+++ b/bzrlib/tests/test_cethread.py 2011-02-11 16:15:39 +0000
@@ -91,10 +91,8 @@
class TestThread(cethread.CatchingExceptionThread):
- def __init__(self, *args, **kwargs):
- super(TestThread, self).__init__(*args,
- target=self.step_by_step,
- **kwargs)
+ def __init__(self):
+ super(TestThread, self).__init__(target=self.step_by_step)
self.current_step = 'starting'
self.step1 = threading.Event()
self.set_sync_event(self.step1)
@@ -136,10 +134,8 @@
def __init__(self, *args, **kwargs):
self.step1 = threading.Event()
self.step2 = threading.Event()
- super(TestThread, self).__init__(*args,
- target=self.step_by_step,
- sync_event=self.step1,
- **kwargs)
+ super(TestThread, self).__init__(target=self.step_by_step,
+ sync_event=self.step1)
self.current_step = 'starting'
self.set_sync_event(self.step1)
More information about the bazaar-commits
mailing list