[Zope-Checkins] SVN: Zope/trunk/ - Collector #1126: ZPublisher.Converters.field2lines now using

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


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



-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2004-05-17 16:23:57 UTC (rev 24777)
+++ Zope/trunk/doc/CHANGES.txt	2004-05-17 17:32:20 UTC (rev 24778)
@@ -116,6 +116,9 @@
 
     Bugs fixed
 
+     - Collector #1126: ZPublisher.Converters.field2lines now using 
+       splitlines() instead of split('\n').
+
      - Collector #1322: fixed HTML quoting problem with ZSQL methods
        in DA.py
 

Modified: Zope/trunk/lib/python/ZPublisher/Converters.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/Converters.py	2004-05-17 16:23:57 UTC (rev 24777)
+++ Zope/trunk/lib/python/ZPublisher/Converters.py	2004-05-17 17:32:20 UTC (rev 24778)
@@ -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