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

Commite1aea3a

Browse files
committed
BF: crazy tests ppl pass an object for status... uff -- catch TypeError too
1 parent086af07 commite1aea3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/exc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, command, status=None, stderr=None, stdout=None):
4848
else:
4949
try:
5050
status=u'exit code(%s)'%int(status)
51-
exceptValueError:
51+
except(ValueError,TypeError):
5252
s=safe_decode(str(status))
5353
status=u"'%s'"%sifisinstance(status,string_types)elses
5454

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp