blob: f0a4be1a6d8b3ced700b75d14bb79211db6c753d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class InvalidGitRepositoryError(Exception):
pass
class NoSuchPathError(Exception):
pass
class GitCommandError(Exception):
def __init__(self, command, status, stderr=None):
self.stderr = stderr
self.status = status
self.command = command
def __str__(self):
return repr("%s returned exit status %d" %
(str(self.command), self.status))
|