From: Thomas Wouters Date: Fri, 4 Aug 2000 08:46:59 +0000 (+0000) Subject: Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.) X-Git-Tag: v2.0b1~579 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3027b15c8e2a2d8098388a4d28842934025f861e;p=python Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.) --- diff --git a/Lib/whichdb.py b/Lib/whichdb.py index 5806118fc9..4396321e99 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")