# HG changeset patch # User David Barts # Date 1557790025 25200 # Node ID 9aaa91247b141103ff2bb617752f86eea599cbf9 # Parent 57ec65f527e98315a9501b7d2bd630eaf3c08eba Fix minor buglet. diff -r 57ec65f527e9 -r 9aaa91247b14 tincan.py --- a/tincan.py Mon May 13 16:00:11 2019 -0700 +++ b/tincan.py Mon May 13 16:27:05 2019 -0700 @@ -403,6 +403,8 @@ return os.stat(path).st_mtime except FileNotFoundError: return 0 + except OSError as e: + raise TinCanError("{0}: {1}".format(path, e.strerror)) from e def _getclass(self): pypath = os.path.normpath(os.path.join(self._fsroot, *self._splitpath(self._python)))