diff options
| author | Ethan Anderson <eanderson@atlassian.com> | 2022-07-05 17:07:53 -0500 |
|---|---|---|
| committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-07-06 09:11:45 +0800 |
| commit | f23994e3bdd20164a1365296153044d5c7718fef (patch) | |
| tree | 9490db5a740e3f46716c921ee102381762ce6a11 /git | |
| parent | ca2cf108522b0a298caf8f32e72df1c6006abcf8 (diff) | |
| download | gitpython-f23994e3bdd20164a1365296153044d5c7718fef.tar.gz | |
Catch OSError to handle gevent monkey patching errors
Diffstat (limited to 'git')
| -rw-r--r-- | git/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -546,7 +546,7 @@ class Git(LazyMixin): if stream: try: return stderr_b + force_bytes(stream.read()) - except ValueError: + except (OSError, ValueError): return stderr_b or b"" else: return stderr_b or b"" |
