--- a/server/utils.py Tue May 25 12:20:26 2010 +0200 +++ b/server/utils.py Tue May 25 12:21:17 2010 +0200 @@ -143,7 +143,8 @@ self._t.cancel() def join(self): - self._t.join() + if self._t.isAlive(): + self._t.join() class RepoThread(Thread):