summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index 69a8126b..c3e285d5 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -480,7 +480,7 @@ class Remote(LazyMixin, Iterable):
print >> sys.stderr, line
continue
elif line.startswith('fatal:'):
- raise GitCommandError("Error when fetching: %s" % line)
+ raise GitCommandError(("Error when fetching: %s" % line,), 2)
# END handle special messages
fetch_info_lines.append(line)
# END for each line