diff options
Diffstat (limited to 'Lib/idlelib/FileList.py')
| -rw-r--r-- | Lib/idlelib/FileList.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Lib/idlelib/FileList.py b/Lib/idlelib/FileList.py index 37a337e..a9989a8 100644 --- a/Lib/idlelib/FileList.py +++ b/Lib/idlelib/FileList.py @@ -103,7 +103,7 @@ class FileList:          if not os.path.isabs(filename):              try:                  pwd = os.getcwd() -            except os.error: +            except OSError:                  pass              else:                  filename = os.path.join(pwd, filename) | 
