[Python-checkins] CVS: python/dist/src/Lib markupbase.py,1.1,1.2

Fred L. Drake fdrake@users.sourceforge.net
Mon, 24 Sep 2001 13:04:31 -0700


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

Modified Files:
	markupbase.py 
Log Message:
Be consistent about the string module.

Index: markupbase.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/markupbase.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** markupbase.py	2001/09/24 20:01:28	1.1
--- markupbase.py	2001/09/24 20:04:29	1.2
***************
*** 301,305 ****
              if (i + len(s)) == n:
                  return None, -1  # end of buffer
!             return name.lower(), m.end()
          else:
              self.updatepos(declstartpos, i)
--- 301,305 ----
              if (i + len(s)) == n:
                  return None, -1  # end of buffer
!             return string.lower(name), m.end()
          else:
              self.updatepos(declstartpos, i)