[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/securitypolicy/browser/granting.py
- fix typos
Fred L. Drake, Jr.
fdrake at gmail.com
Thu Sep 7 01:16:31 EDT 2006
Log message for revision 70017:
- fix typos
- wrap an overly long line
Changed:
U Zope3/trunk/src/zope/app/securitypolicy/browser/granting.py
-=-
Modified: Zope3/trunk/src/zope/app/securitypolicy/browser/granting.py
===================================================================
--- Zope3/trunk/src/zope/app/securitypolicy/browser/granting.py 2006-09-06 22:32:08 UTC (rev 70016)
+++ Zope3/trunk/src/zope/app/securitypolicy/browser/granting.py 2006-09-07 05:16:29 UTC (rev 70017)
@@ -44,7 +44,7 @@
class GrantWidget(RadioWidget):
- """Garnt widget for build a colorized matrix.
+ """Grant widget for building a colorized matrix.
The matrix shows anytime the status if you edit the radio widgets.
This special widget shows the radio input field without labels.
@@ -53,7 +53,10 @@
"""
orientation = "horizontal"
- _tdTemplate = u'\n<td class="%s">\n<center>\n<label for="%s" title="%s">\n%s\n</label>\n</center>\n</td>\n'
+ _tdTemplate = (
+ u'\n<td class="%s">\n<center>\n<label for="%s" title="%s">\n'
+ u'%s\n</label>\n</center>\n</td>\n'
+ )
def __call__(self):
"""See IBrowserWidget."""
@@ -102,7 +105,7 @@
checked="checked",
type='radio',
extra = 'onclick="changeMatrix(this);"')
- return self._tdTemplate %(tdClass, id, text, elem)
+ return self._tdTemplate % (tdClass, id, text, elem)
def renderItems(self, value):
# check if we want to select first item, the previously selected item
More information about the Zope3-Checkins
mailing list