diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-09 12:05:02 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-09 12:05:02 +0200 |
commit | 07c20b4231b12fee42d15f1c44c948ce474f5851 (patch) | |
tree | f87b44e688752928789462bdc27f1c753ab64df4 /lib/git/errors.py | |
parent | 92a97480edcc0f0de787a752bf90feed0445dd39 (diff) | |
download | gitpython-07c20b4231b12fee42d15f1c44c948ce474f5851.tar.gz |
deriving NoSuchPathError from OSError as it relates to it very well
Diffstat (limited to 'lib/git/errors.py')
-rw-r--r-- | lib/git/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/errors.py b/lib/git/errors.py index 2632d5f3..45afb590 100644 --- a/lib/git/errors.py +++ b/lib/git/errors.py @@ -12,7 +12,7 @@ class InvalidGitRepositoryError(Exception): Thrown if the given repository appears to have an invalid format. """ -class NoSuchPathError(Exception): +class NoSuchPathError(OSError): """ Thrown if a path could not be access by the system. """ |