[Zope-Checkins] CVS: Zope/lib/python/OFS - DTMLMethod.py:1.85

Stefane Fermigier sf at fermigier.com
Sun Mar 21 11:21:08 EST 2004


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

Modified Files:
	DTMLMethod.py 
Log Message:
Indent = 4 characters.



=== Zope/lib/python/OFS/DTMLMethod.py 1.84 => 1.85 ===
--- Zope/lib/python/OFS/DTMLMethod.py:1.84	Thu Jan 15 17:48:40 2004
+++ Zope/lib/python/OFS/DTMLMethod.py	Sun Mar 21 11:21:07 2004
@@ -227,9 +227,9 @@
         rows = str(max(1, int(dtpref_rows) + dr))
         cols = str(dtpref_cols)
         if cols.endswith('%'):
-           cols = str(min(100, max(25, int(cols[:-1]) + dc))) + '%'
+            cols = str(min(100, max(25, int(cols[:-1]) + dc))) + '%'
         else:
-           cols = str(max(35, int(cols) + dc))
+            cols = str(max(35, int(cols) + dc))
         e = (DateTime("GMT") + 365).rfc822()
         setCookie = REQUEST["RESPONSE"].setCookie
         setCookie("dtpref_rows", rows, path='/', expires=e)




More information about the Zope-Checkins mailing list