diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-09 14:01:51 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-09 14:01:51 +0200 |
commit | 4e6bece08aea01859a232e99a1e1ad8cc1eb7d36 (patch) | |
tree | 33a0ebf9c5510b191de219029c8cfedb9df97ab3 /lib/git/async/task.py | |
parent | a988e6985849e4f6a561b4a5468d525c25ce74fe (diff) | |
download | gitpython-4e6bece08aea01859a232e99a1e1ad8cc1eb7d36.tar.gz |
HSCondition: Fixed terrible bug which it inherited from its default python Condition implementation, related to the notify method not being treadsafe. Although I was aware of it, I missed the first check which tests for the size - the result could be incorrect if the whole method wasn't locked.
Testing runs stable now, allowing to move on \!
Diffstat (limited to 'lib/git/async/task.py')
-rw-r--r-- | lib/git/async/task.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/async/task.py b/lib/git/async/task.py index dd2bd351..d18cedca 100644 --- a/lib/git/async/task.py +++ b/lib/git/async/task.py @@ -138,7 +138,7 @@ class OutputChannelTask(Node): # just the right thing to do of course - one loose link in the chain ... # Other chunks of our kind currently being processed will then # fail to write to the channel and fail as well - # self.close() + self.close() # If some other chunk of our Task had an error, the channel will be closed # This is not an issue, just be sure we don't overwrite the original |