Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3027b15

Browse files
committed
Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)
1 parent 5a00769 commit 3027b15

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/whichdb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def whichdb(filename):
2626
pass
2727

2828
# Check for dumbdbm next -- this has a .dir and and a .dat file
29+
try:
2930
f = open(filename + ".dat", "rb")
3031
f.close()
3132
f = open(filename + ".dir", "rb")

0 commit comments

Comments
 (0)