Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Python by Jerbear ( 19 years ago )
from zope.security.proxy import removeSecurityProxy
class Feature(Persistent):
    """See IFeature."""
    implements(IFeature)

    header = FieldProperty(IFeature['header'])
    date = FieldProperty(IFeature['date'])

    def getTitle(self):
        return self._title

    def setTitle(self, title):
        self._title = removeSecurityProxy(title)


    title = property(getTitle, setTitle, None)

 

Revise this Paste

Your Name: Code Language: