summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/whichdb.py1
1 files changed, 1 insertions, 0 deletions
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 @@ 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")