Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a00769 commit 3027b15Copy full SHA for 3027b15
1 file changed
Lib/whichdb.py
@@ -26,6 +26,7 @@ def whichdb(filename):
26
pass
27
28
# Check for dumbdbm next -- this has a .dir and and a .dat file
29
+ try:
30
f = open(filename + ".dat", "rb")
31
f.close()
32
f = open(filename + ".dir", "rb")
0 commit comments