[Python-checkins] python/dist/src/Lib/csv __init__.py,1.2,1.3 csv.py,1.1,1.2

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Thu, 24 Apr 2003 09:03:20 -0700


Update of /cvsroot/python/python/dist/src/Lib/csv
In directory sc8-pr-cvs1:/tmp/cvs-serv21022/Lib/csv

Modified Files:
	__init__.py csv.py 
Log Message:
Whitespace normalization.


Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/csv/__init__.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** __init__.py	10 Apr 2003 17:16:14 -0000	1.2
--- __init__.py	24 Apr 2003 16:02:46 -0000	1.3
***************
*** 1,2 ****
  from csv import *
- 
--- 1 ----

Index: csv.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/csv/csv.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** csv.py	20 Mar 2003 23:29:12 -0000	1.1
--- csv.py	24 Apr 2003 16:02:47 -0000	1.2
***************
*** 117,121 ****
          if extrasaction.lower() not in ("raise", "ignore"):
              raise ValueError, \
!                   ("extrasaction (%s) must be 'raise' or 'ignore'" % 
                     extrasaction)
          self.extrasaction = extrasaction
--- 117,121 ----
          if extrasaction.lower() not in ("raise", "ignore"):
              raise ValueError, \
!                   ("extrasaction (%s) must be 'raise' or 'ignore'" %
                     extrasaction)
          self.extrasaction = extrasaction
***************
*** 127,131 ****
                  if k not in self.fieldnames:
                      raise ValueError, "dict contains fields not in fieldnames"
!         return [rowdict.get(key, self.restval) for key in self.fieldnames] 
  
      def writerow(self, rowdict):
--- 127,131 ----
                  if k not in self.fieldnames:
                      raise ValueError, "dict contains fields not in fieldnames"
!         return [rowdict.get(key, self.restval) for key in self.fieldnames]
  
      def writerow(self, rowdict):