summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
"""