Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)

This commit is contained in:
Thomas Wouters 2000-08-04 08:46:59 +00:00
parent 5a007693c1
commit 3027b15c8e
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ def whichdb(filename):
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")