mirror of
https://github.com/python/cpython
synced 2026-09-29 11:55:30 +03:00
Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)
This commit is contained in:
parent
5a007693c1
commit
3027b15c8e
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue