Skip to content

Commit 90b20e5

Browse files
committed
remote: fixed incorrect call signature when instantiating GitCommandError
1 parent 2fbb702 commit 90b20e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def _get_fetch_info_from_stderr(self, proc, progress):
480480
print >> sys.stderr, line
481481
continue
482482
elif line.startswith('fatal:'):
483-
raise GitCommandError("Error when fetching: %s" % line)
483+
raise GitCommandError(("Error when fetching: %s" % line,), 2)
484484
# END handle special messages
485485
fetch_info_lines.append(line)
486486
# END for each line

0 commit comments

Comments
 (0)