summaryrefslogtreecommitdiff
path: root/Lib/_osx_support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/_osx_support.py')
-rw-r--r--Lib/_osx_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_osx_support.py b/Lib/_osx_support.py
index 10767784bf..8412e45b70 100644
--- a/Lib/_osx_support.py
+++ b/Lib/_osx_support.py
@@ -94,7 +94,7 @@ def _get_system_version():
_SYSTEM_VERSION = ''
try:
f = open('/System/Library/CoreServices/SystemVersion.plist')
- except IOError:
+ except OSError:
# We're on a plain darwin box, fall back to the default
# behaviour.
pass