From 3027b15c8e2a2d8098388a4d28842934025f861e Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Fri, 4 Aug 2000 08:46:59 +0000 Subject: [PATCH] Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.) --- Lib/whichdb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/whichdb.py b/Lib/whichdb.py index 5806118fc9e..4396321e991 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")