]> git.decadent.org.uk Git - dak.git/commitdiff
Merge commit 'stew/knownchanges' into merge
authorJoerg Jaspert <joerg@debian.org>
Fri, 30 Oct 2009 14:28:31 +0000 (15:28 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 30 Oct 2009 14:28:31 +0000 (15:28 +0100)
* commit 'stew/knownchanges':
  try to get rid of deadlock

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/import_known_changes.py

index d286775abcb977770b9f15ca99815d2f94017ff4..0b2386263143be2fe184d09ba3c50848d7c422e2 100755 (executable)
@@ -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):