commit | 3027b15c8e2a2d8098388a4d28842934025f861e | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Fri Aug 04 08:46:59 2000 +0000 |
committer | Thomas Wouters <thomas@python.org> | Fri Aug 04 08:46:59 2000 +0000 |
tree | bc3af7e34823df959053d3ec2351865642bdd0c9 | |
parent | 5a007693c141536a04d305f3a2162c625dfbd501 [diff] |
Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)
diff --git a/Lib/whichdb.py b/Lib/whichdb.py index 5806118..4396321 100644 --- a/Lib/whichdb.py +++ b/Lib/whichdb.py
@@ -26,6 +26,7 @@ pass # Check for dumbdbm next -- this has a .dir and and a .dat file + try: f = open(filename + ".dat", "rb") f.close() f = open(filename + ".dir", "rb")