summaryrefslogtreecommitdiff
path: root/git/exc.py
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2014-11-16 20:15:50 +0100
committerAntoine Musso <hashar@free.fr>2014-11-16 20:46:41 +0100
commitf5d11b750ecc982541d1f936488248f0b42d75d3 (patch)
tree8be522510315f5adc32c0c55acd45dc1074294da /git/exc.py
parent7aba59a2609ec768d5d495dafd23a4bce8179741 (diff)
downloadgitpython-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.py6
1 files changed, 3 insertions, 3 deletions
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"""