From f5d11b750ecc982541d1f936488248f0b42d75d3 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 16 Nov 2014 20:15:50 +0100 Subject: pep8 linting (whitespaces) W191 indentation contains tabs E221 multiple spaces before operator E222 multiple spaces after operator E225 missing whitespace around operator E271 multiple spaces after keyword W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file --- git/exc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'git/exc.py') diff --git a/git/exc.py b/git/exc.py index 76d3d486..fac7cde5 100644 --- a/git/exc.py +++ b/git/exc.py @@ -22,7 +22,7 @@ class GitCommandError(Exception): self.stdout = stdout self.status = status self.command = command - + def __str__(self): ret = "'%s' returned exit status %i: %s" % \ (' '.join(str(i) for i in self.command), self.status, self.stderr) @@ -52,8 +52,8 @@ class CheckoutError( Exception ): def __str__(self): return Exception.__str__(self) + ":%s" % self.failed_files - - + + class CacheError(Exception): """Base for all errors related to the git index, which is called cache internally""" -- cgit v1.2.1