[Python-checkins] CVS: python/dist/src/Lib bdb.py,1.33,1.33.6.1

Michael Hudson mwh@users.sourceforge.net
Thu, 28 Feb 2002 02:00:36 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv16275

Modified Files:
      Tag: release22-maint
	bdb.py 
Log Message:
backport gvanrossum's checkin of
    revision 1.35 of bdb.py

date: 2002/02/25 23:23:24;  author: gvanrossum;  state: Exp;  lines: +1 -0
canonic(): Fix by Edward K Ream to make breakpoints work better on
Windows: apply normcase() as well as abspath().  (Note: this isn't
needed to make IDLE work, but it's a good idea anyway.)

Bugfix candidate -- both 2.2.1 and 2.1.3.


Index: bdb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bdb.py,v
retrieving revision 1.33
retrieving revision 1.33.6.1
diff -C2 -d -r1.33 -r1.33.6.1
*** bdb.py	29 Nov 2001 02:50:15 -0000	1.33
--- bdb.py	28 Feb 2002 10:00:34 -0000	1.33.6.1
***************
*** 29,32 ****
--- 29,33 ----
          if not canonic:
              canonic = os.path.abspath(filename)
+             canonic = os.path.normcase(canonic)
              self.fncache[filename] = canonic
          return canonic