From 43d8062094a4ae3ffe500a308495ace0180b594a Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Fri, 17 Oct 2014 16:46:33 +0200 Subject: [PATCH] util/path: s/os.error/OSError/ --- mopidy/utils/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/utils/path.py b/mopidy/utils/path.py index 01b97a50..f60eff59 100644 --- a/mopidy/utils/path.py +++ b/mopidy/utils/path.py @@ -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()