summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-09 12:05:02 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-09 12:05:02 +0200
commit07c20b4231b12fee42d15f1c44c948ce474f5851 (patch)
treef87b44e688752928789462bdc27f1c753ab64df4 /lib
parent92a97480edcc0f0de787a752bf90feed0445dd39 (diff)
downloadgitpython-07c20b4231b12fee42d15f1c44c948ce474f5851.tar.gz
deriving NoSuchPathError from OSError as it relates to it very well
Diffstat (limited to 'lib')
-rw-r--r--lib/git/errors.py2
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.
"""