[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - ZCatalog.py:1.117
Casey Duncan
casey@zope.com
Wed, 14 Aug 2002 15:40:40 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv19914
Modified Files:
ZCatalog.py
Log Message:
Replaced <br>s with \n's in manage_tabs_message values passed over request
=== Zope/lib/python/Products/ZCatalog/ZCatalog.py 1.116 => 1.117 ===
--- Zope/lib/python/Products/ZCatalog/ZCatalog.py:1.116 Wed Aug 14 15:21:45 2002
+++ Zope/lib/python/Products/ZCatalog/ZCatalog.py Wed Aug 14 15:40:40 2002
@@ -252,8 +252,8 @@
RESPONSE.redirect(
URL1 +
'/manage_catalogAdvanced?manage_tabs_message=' +
- urllib.quote('Catalog Updated<br>'
- 'Total time: %s<br>'
+ urllib.quote('Catalog Updated \n'
+ 'Total time: %s\n'
'Total CPU time: %s' % (`elapse`, `c_elapse`)))
@@ -321,10 +321,12 @@
RESPONSE.redirect(
URL1 +
'/manage_catalogView?manage_tabs_message=' +
- urllib.quote(
- 'Catalog Updated<br>Total time: %s<br>Total CPU time: %s' %
- (`elapse`, `c_elapse`)))
-
+ urllib.quote('Catalog Updated\n'
+ 'Total time: %s\n'
+ 'Total CPU time: %s'
+ % (`elapse`, `c_elapse`))
+ )
+
def manage_addColumn(self, name, REQUEST=None, RESPONSE=None, URL1=None):
""" add a column """