[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/schemacontent/browser/__init__.py Fixed a misspelled name.

Garrett Smith garrett at mojave-corp.com
Tue May 18 11:44:37 EDT 2004


Log message for revision 24806:
Fixed a misspelled name.


-=-
Modified: Zope3/trunk/src/zope/app/schemacontent/browser/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/schemacontent/browser/__init__.py	2004-05-18 15:22:32 UTC (rev 24805)
+++ Zope3/trunk/src/zope/app/schemacontent/browser/__init__.py	2004-05-18 15:44:36 UTC (rev 24806)
@@ -77,8 +77,8 @@
             schema = self.context.schema
             perms = trustedRemoveSecurityProxy(self.context.permissions)
             for name, field in getFieldsInOrder(schema):
-                getPerm = getattr(self, name+'_get_perm_widget').getData()
-                setPerm = getattr(self, name+'_set_perm_widget').getData()
+                getPerm = getattr(self, name+'_get_perm_widget').getInputValue()
+                setPerm = getattr(self, name+'_set_perm_widget').getInputValue()
                 perms[name] = (getPerm, setPerm)
             status = 'Fields permissions mapping updated.'
 




More information about the Zope3-Checkins mailing list