[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - Converters.py:1.23.2.2

Andreas Jung andreas at andreas-jung.com
Mon May 17 13:31:32 EDT 2004


Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv30863/lib/python/ZPublisher

Modified Files:
      Tag: Zope-2_7-branch
	Converters.py 
Log Message:

     - Collector #1126: ZPublisher.Converters.field2lines now using 
       splitlines() instead of split('\n').


=== Zope/lib/python/ZPublisher/Converters.py 1.23.2.1 => 1.23.2.2 ===
--- Zope/lib/python/ZPublisher/Converters.py:1.23.2.1	Fri Oct 24 16:13:36 2003
+++ Zope/lib/python/ZPublisher/Converters.py	Mon May 17 13:31:31 2004
@@ -98,7 +98,7 @@
         for item in v:
             result.append(str(item))
         return result
-    return field2text(v).split('\n')
+    return field2text(v).splitlines()
 
 def field2date(v):
     v = field2string(v)




More information about the Zope-Checkins mailing list