Commit e3238ebf authored by Thomas Wouters's avatar Thomas Wouters

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

parent b10b36eb
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment