[Python-checkins] CVS: python/dist/src/Lib whichdb.py,1.7,1.8

Thomas Wouters python-dev@python.org
Fri, 4 Aug 2000 01:47:02 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv21242/Lib

Modified Files:
	whichdb.py 
Log Message:

Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)



Index: whichdb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/whichdb.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** whichdb.py	2000/07/29 05:31:40	1.7
--- whichdb.py	2000/08/04 08:46:59	1.8
***************
*** 27,30 ****
--- 27,31 ----
  
      # Check for dumbdbm next -- this has a .dir and and a .dat file
+     try:
          f = open(filename + ".dat", "rb")
          f.close()