summaryrefslogtreecommitdiff
path: root/command/build_scripts.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-25 16:47:37 +0200
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-25 16:47:37 +0200
commit8b21b15c3cebd6cf09d1ceb8abf91f0ebbafa499 (patch)
tree279e74ebfed987d4033ff5b43a31124489f86d39 /command/build_scripts.py
parent437e5b731feb5f5b0e7205ff94d15c07c32e83a4 (diff)
downloadpython-setuptools-git-8b21b15c3cebd6cf09d1ceb8abf91f0ebbafa499.tar.gz
Replace IOError with OSError (#16715)
Diffstat (limited to 'command/build_scripts.py')
-rw-r--r--command/build_scripts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/command/build_scripts.py b/command/build_scripts.py
index 4b5b22ec..90a8380a 100644
--- a/command/build_scripts.py
+++ b/command/build_scripts.py
@@ -74,7 +74,7 @@ class build_scripts(Command):
# script.
try:
f = open(script, "rb")
- except IOError:
+ except OSError:
if not self.dry_run:
raise
f = None