summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-30 19:27:03 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-30 19:28:37 +0100
commit90b20e5cd9ba8b679a488efedb1eb1983e848acf (patch)
tree291e6ed9846749ba5e34af0277f75933f9b2152a /git/remote.py
parent2fbb7027ec88e2e4fe7754f22a27afe36813224b (diff)
downloadgitpython-90b20e5cd9ba8b679a488efedb1eb1983e848acf.tar.gz
remote: fixed incorrect call signature when instantiating GitCommandError
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