diff options
author | Guido van Rossum <guido@python.org> | 1992-09-24 09:14:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-09-24 09:14:44 (GMT) |
commit | 590177bc884f9e382afb759e39729d7cae1aa4f1 (patch) | |
tree | 1ef442dcc5957ccb798d3814ffd230e696e6eb23 /Demo/stdwin | |
parent | c431549e214d9d611745f93da8a9c4cbcb3b9844 (diff) | |
download | cpython-590177bc884f9e382afb759e39729d7cae1aa4f1.zip cpython-590177bc884f9e382afb759e39729d7cae1aa4f1.tar.gz cpython-590177bc884f9e382afb759e39729d7cae1aa4f1.tar.bz2 |
open() now raises IOError, not RuntimeError!
Diffstat (limited to 'Demo/stdwin')
-rwxr-xr-x | Demo/stdwin/ibrowse/ifile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/stdwin/ibrowse/ifile.py b/Demo/stdwin/ibrowse/ifile.py index 584fb34..1ea880e 100755 --- a/Demo/stdwin/ibrowse/ifile.py +++ b/Demo/stdwin/ibrowse/ifile.py @@ -311,7 +311,7 @@ def try_open(file): for dir in INFOPATH: try: return open(dir + file, 'r') - except RuntimeError: + except IOError: pass raise NoSuchFile, file |