util/path: s/os.error/OSError/

This commit is contained in:
Thomas Adamcik 2014-10-17 16:46:33 +02:00
parent 5bf6b779ac
commit 43d8062094

View File

@ -150,7 +150,7 @@ def _find_worker(relative, follow, done, work, results, errors):
else:
errors[path] = Exception('Not a file or directory')
except os.error as e:
except OSError as e:
errors[path] = e
finally:
work.task_done()