[Python-checkins] CVS: python/dist/src/Lib difflib.py,1.5,1.6 quopri.py,1.16,1.17

Tim Peters tim_one@users.sourceforge.net
Wed, 03 Oct 2001 22:36:58 -0700


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

Modified Files:
	difflib.py quopri.py 
Log Message:
Whitespace normalization.


Index: difflib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/difflib.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** difflib.py	2001/09/22 21:30:22	1.5
--- difflib.py	2001/10/04 05:36:56	1.6
***************
*** 947,951 ****
          yield "- " + aline
          if atags:
!              yield "? %s%s\n" % ("\t" * common, atags)
  
          yield "+ " + bline
--- 947,951 ----
          yield "- " + aline
          if atags:
!             yield "? %s%s\n" % ("\t" * common, atags)
  
          yield "+ " + bline

Index: quopri.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/quopri.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** quopri.py	2001/09/30 20:32:10	1.16
--- quopri.py	2001/10/04 05:36:56	1.17
***************
*** 13,20 ****
  
  try:
!   from binascii import a2b_qp, b2a_qp
  except:
!   a2b_qp = None
!   b2a_qp = None
  
  
--- 13,20 ----
  
  try:
!     from binascii import a2b_qp, b2a_qp
  except:
!     a2b_qp = None
!     b2a_qp = None
  
  
***************
*** 29,33 ****
          return quotetabs
      # if header, we have to escape _ because _ is used to escape space
!     if c == '_': 
          return header
      return c == ESCAPE or not (' ' <= c <= '~')
--- 29,33 ----
          return quotetabs
      # if header, we have to escape _ because _ is used to escape space
!     if c == '_':
          return header
      return c == ESCAPE or not (' ' <= c <= '~')
***************
*** 56,60 ****
          output.write(odata)
          return
!       
      def write(s, output=output, lineEnd='\n'):
          # RFC 1521 requires that the line ending in a space or tab must have
--- 56,60 ----
          output.write(odata)
          return
! 
      def write(s, output=output, lineEnd='\n'):
          # RFC 1521 requires that the line ending in a space or tab must have