diff options
author | Barry Scott <barry@barrys-emacs.org> | 2016-05-30 15:49:40 +0100 |
---|---|---|
committer | Barry Scott <barry@barrys-emacs.org> | 2016-05-30 15:49:40 +0100 |
commit | 08a0fad2c9dcdfe0bbc980b8cd260b4be5582381 (patch) | |
tree | bf17683c442cff2ff4e4a61a0a069673940cec55 /git/util.py | |
parent | 46201b346fec29f9cb740728a3c20266094d58b2 (diff) | |
download | gitpython-08a0fad2c9dcdfe0bbc980b8cd260b4be5582381.tar.gz |
Make sure that stderr is converted to bytes
remove stderr for a wait() that is not the GitPython wrapper.
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/util.py b/git/util.py index 2f894576..706518b8 100644 --- a/git/util.py +++ b/git/util.py @@ -772,10 +772,10 @@ class WaitGroup(object): self.cv.notify_all() self.cv.release() - def wait(self): + def wait(self, stderr=b''): self.cv.acquire() while self.count > 0: - self.cv.wait() + self.cv.wait(strerr=stderr) self.cv.release() |