diff --git a/Lib/whichdb.py b/Lib/whichdb.py index 5806118fc9e..4396321e991 100644 --- a/Lib/whichdb.py +++ b/Lib/whichdb.py @@ -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")