Skip to content

Commit 07c20b4

Browse files
committed
deriving NoSuchPathError from OSError as it relates to it very well
1 parent 92a9748 commit 07c20b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class InvalidGitRepositoryError(Exception):
1212
Thrown if the given repository appears to have an invalid format.
1313
"""
1414

15-
class NoSuchPathError(Exception):
15+
class NoSuchPathError(OSError):
1616
"""
1717
Thrown if a path could not be access by the system.
1818
"""

0 commit comments

Comments
 (0)