From 90b20e5cd9ba8b679a488efedb1eb1983e848acf Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 30 Nov 2010 19:27:03 +0100 Subject: remote: fixed incorrect call signature when instantiating GitCommandError --- git/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/remote.py') 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 -- cgit v1.2.3