diff options
Diffstat (limited to 'git_command.py')
-rw-r--r-- | git_command.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git_command.py b/git_command.py index 259fb02c..3095fda1 100644 --- a/git_command.py +++ b/git_command.py | |||
@@ -263,6 +263,8 @@ class GitCommand(object): | |||
263 | if not buf: | 263 | if not buf: |
264 | s_in.remove(s) | 264 | s_in.remove(s) |
265 | continue | 265 | continue |
266 | if not hasattr(buf, 'encode'): | ||
267 | buf = buf.decode() | ||
266 | if s.std_name == 'stdout': | 268 | if s.std_name == 'stdout': |
267 | self.stdout += buf | 269 | self.stdout += buf |
268 | else: | 270 | else: |