Created
December 2, 2013 23:35
-
-
Save anonymous/7761137 to your computer and use it in GitHub Desktop.
attachment for the BitBucket issue #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Patrick Kennedy <dysiode@gmail.com> | |
# Date 1260766233 25200 | |
# Branch trunk | |
# Node ID 84c9ab0fc04b88d592bd4a80c4e1bef6824921a4 | |
# Parent f5c2fc6f96433001389efdd16aceaa0dda90821c | |
Fixed JobSet.finished_job to incriment JobSet.done before informing observers. | |
diff -r f5c2fc6f9643 -r 84c9ab0fc04b rope/base/taskhandle.py | |
--- a/rope/base/taskhandle.py Mon Oct 26 21:43:38 2009 +0300 | |
+++ b/rope/base/taskhandle.py Sun Dec 13 21:50:33 2009 -0700 | |
@@ -71,9 +71,9 @@ | |
def finished_job(self): | |
self.check_status() | |
+ self.done += 1 | |
self.handle._inform_observers() | |
self.job_name = None | |
- self.done += 1 | |
def check_status(self): | |
if self.handle.is_stopped(): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment