diff options
| author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-25 16:47:37 +0200 |
|---|---|---|
| committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-25 16:47:37 +0200 |
| commit | 8b21b15c3cebd6cf09d1ceb8abf91f0ebbafa499 (patch) | |
| tree | 279e74ebfed987d4033ff5b43a31124489f86d39 /command/build_scripts.py | |
| parent | 437e5b731feb5f5b0e7205ff94d15c07c32e83a4 (diff) | |
| download | python-setuptools-git-8b21b15c3cebd6cf09d1ceb8abf91f0ebbafa499.tar.gz | |
Replace IOError with OSError (#16715)
Diffstat (limited to 'command/build_scripts.py')
| -rw-r--r-- | command/build_scripts.py | 2 |
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 |
