summaryrefslogtreecommitdiffstats
path: root/Demo/stdwin
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-09-24 09:14:44 (GMT)
committerGuido van Rossum <guido@python.org>1992-09-24 09:14:44 (GMT)
commit590177bc884f9e382afb759e39729d7cae1aa4f1 (patch)
tree1ef442dcc5957ccb798d3814ffd230e696e6eb23 /Demo/stdwin
parentc431549e214d9d611745f93da8a9c4cbcb3b9844 (diff)
downloadcpython-590177bc884f9e382afb759e39729d7cae1aa4f1.zip
cpython-590177bc884f9e382afb759e39729d7cae1aa4f1.tar.gz
cpython-590177bc884f9e382afb759e39729d7cae1aa4f1.tar.bz2
open() now raises IOError, not RuntimeError!
Diffstat (limited to 'Demo/stdwin')
-rwxr-xr-xDemo/stdwin/ibrowse/ifile.py2
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