From 07c20b4231b12fee42d15f1c44c948ce474f5851 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 9 Oct 2009 12:05:02 +0200 Subject: deriving NoSuchPathError from OSError as it relates to it very well --- lib/git/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/git/errors.py') 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. """ -- cgit v1.2.1