changeset 5590 | a56eb02f9ce7 |
parent 5581 | 0aae5216f99e |
child 5606 | 61b28589d33f |
5578:6b9fee0c5c42 | 5590:a56eb02f9ce7 |
---|---|
141 |
141 |
142 def cancel(self): |
142 def cancel(self): |
143 self._t.cancel() |
143 self._t.cancel() |
144 |
144 |
145 def join(self): |
145 def join(self): |
146 self._t.join() |
146 if self._t.isAlive(): |
147 self._t.join() |
|
147 |
148 |
148 |
149 |
149 class RepoThread(Thread): |
150 class RepoThread(Thread): |
150 """subclass of thread so it auto remove itself from a given list once |
151 """subclass of thread so it auto remove itself from a given list once |
151 executed |
152 executed |