mirror of https://github.com/python/cpython
Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)
This commit is contained in:
parent
5a007693c1
commit
3027b15c8e
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue