diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2009-11-04 19:53:42 +0100 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2009-11-04 19:53:42 +0100 |
| commit | d884adc80c80300b4cc05321494713904ef1df2d (patch) | |
| tree | 3878d5e0282531596d42505d8725482dde002c20 /lib/git/errors.py | |
| parent | 05d2687afcc78cd192714ee3d71fdf36a37d110f (diff) | |
| parent | ace1fed6321bb8dd6d38b2f58d7cf815fa16db7a (diff) | |
| download | GitPython-d884adc80c80300b4cc05321494713904ef1df2d.tar.gz GitPython-d884adc80c80300b4cc05321494713904ef1df2d.zip | |
Merge branch 'improvements'
Diffstat (limited to 'lib/git/errors.py')
| -rw-r--r-- | lib/git/errors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/git/errors.py b/lib/git/errors.py index e9a637c0..cde2798a 100644 --- a/lib/git/errors.py +++ b/lib/git/errors.py @@ -25,8 +25,8 @@ class GitCommandError(Exception): self.stderr = stderr self.status = status self.command = command - + def __str__(self): - return repr("%s returned exit status %d" % - (str(self.command), self.status)) + return ("'%s' returned exit status %i: %s" % + (' '.join(str(i) for i in self.command), self.status, self.stderr)) |
