commit | 590177bc884f9e382afb759e39729d7cae1aa4f1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Sep 24 09:14:44 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Sep 24 09:14:44 1992 +0000 |
tree | 1ef442dcc5957ccb798d3814ffd230e696e6eb23 | |
parent | c431549e214d9d611745f93da8a9c4cbcb3b9844 [diff] |
open() now raises IOError, not RuntimeError!
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 @@ for dir in INFOPATH: try: return open(dir + file, 'r') - except RuntimeError: + except IOError: pass raise NoSuchFile, file