[ZPT] CVS: Products/PageTemplates/www - ptEdit.zpt:1.5.4.1

Evan Simpson evan@zope.com
Tue, 9 Jul 2002 18:54:02 -0400


Update of /cvs-repository/Products/PageTemplates/www
In directory cvs.zope.org:/tmp/cvs-serv29643/www

Modified Files:
      Tag: evan-zpt-1_5_2-branch
	ptEdit.zpt 
Log Message:
Remove string methods.


=== Products/PageTemplates/www/ptEdit.zpt 1.5 => 1.5.4.1 ===
   <tr>
     <td align="left" valign="top" colspan="4"
       tal:define="width request/form/dtpref_cols | request/dtpref_cols | string:100%;
-                  relative_width python:str(width).endswith('%')">
+                  relative_width python:str(width)[-1:] == '%'">
       <textarea name="text:text" wrap="off" style="width:100%;" rows="20"
         tal:condition="relative_width"
         tal:attributes="style string:width:$width;