From b1ed62bc33000e2670aed2b2f1c478b2e6c62d0e Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Fri, 30 Oct 2009 15:27:41 +0100 Subject: [PATCH] try to get rid of deadlock Signed-off-by: Mike O'Connor --- dak/import_known_changes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dak/import_known_changes.py b/dak/import_known_changes.py index d286775a..0b238626 100755 --- a/dak/import_known_changes.py +++ b/dak/import_known_changes.py @@ -144,7 +144,7 @@ class OneAtATime(object): assert( not self.next_in_line ) self.next_in_line = next - self.next_lock.notify() + self.next_lock.notifyAll() self.next_lock.release() def dequeue(self): @@ -157,7 +157,7 @@ class OneAtATime(object): result = self.next_in_line self.next_in_line = None - self.next_lock.notify() + self.next_lock.notifyAll() self.next_lock.release() if isinstance(result, EndOfChanges): -- 2.39.2