diff options
author | Antoine Musso <hashar@free.fr> | 2014-11-16 20:15:50 +0100 |
---|---|---|
committer | Antoine Musso <hashar@free.fr> | 2014-11-16 20:46:41 +0100 |
commit | f5d11b750ecc982541d1f936488248f0b42d75d3 (patch) | |
tree | 8be522510315f5adc32c0c55acd45dc1074294da /git/exc.py | |
parent | 7aba59a2609ec768d5d495dafd23a4bce8179741 (diff) | |
download | gitpython-f5d11b750ecc982541d1f936488248f0b42d75d3.tar.gz |
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
Diffstat (limited to 'git/exc.py')
-rw-r--r-- | git/exc.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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""" |