summaryrefslogtreecommitdiff
path: root/lib/git/errors.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-03-04 09:06:03 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-03-04 09:06:03 +0100
commit72bcdbd0a0c8cc6aa2a7433169aa49c7fc19b55b (patch)
tree09e28dfbad901791a8306e890f69a6b737d20a03 /lib/git/errors.py
parent4956c1e618bfcfeef86c6ea90c22dd04ca81b9db (diff)
downloadgitpython-72bcdbd0a0c8cc6aa2a7433169aa49c7fc19b55b.tar.gz
Converted all tabs to 4 space characters each to comply with pep8
Diffstat (limited to 'lib/git/errors.py')
-rw-r--r--lib/git/errors.py34
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/git/errors.py b/lib/git/errors.py
index cde2798a..f66fb528 100644
--- a/lib/git/errors.py
+++ b/lib/git/errors.py
@@ -8,25 +8,25 @@ Module containing all exceptions thrown througout the git package,
"""
class InvalidGitRepositoryError(Exception):
- """
- Thrown if the given repository appears to have an invalid format.
- """
+ """
+ Thrown if the given repository appears to have an invalid format.
+ """
class NoSuchPathError(OSError):
- """
- Thrown if a path could not be access by the system.
- """
+ """
+ Thrown if a path could not be access by the system.
+ """
class GitCommandError(Exception):
- """
- Thrown if execution of the git command fails with non-zero status code.
- """
- def __init__(self, command, status, stderr=None):
- self.stderr = stderr
- self.status = status
- self.command = command
-
- def __str__(self):
- return ("'%s' returned exit status %i: %s" %
- (' '.join(str(i) for i in self.command), self.status, self.stderr))
+ """
+ Thrown if execution of the git command fails with non-zero status code.
+ """
+ def __init__(self, command, status, stderr=None):
+ self.stderr = stderr
+ self.status = status
+ self.command = command
+
+ def __str__(self):
+ return ("'%s' returned exit status %i: %s" %
+ (' '.join(str(i) for i in self.command), self.status, self.stderr))