Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf23994e

Browse files
aethanolByron
authored andcommitted
Catch OSError to handle gevent monkey patching errors
1 parentca2cf10 commitf23994e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ def read_all_from_possibly_closed_stream(stream: Union[IO[bytes], None]) -> byte
546546
ifstream:
547547
try:
548548
returnstderr_b+force_bytes(stream.read())
549-
exceptValueError:
549+
except(OSError,ValueError):
550550
returnstderr_borb""
551551
else:
552552
returnstderr_borb""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp