[Zope-CMF] Where is getProperty?

Charlie Clark charlie at begeistert.org
Fri Jun 29 04:07:13 EDT 2007


Just udated to trunk and am now getting errors, every time  
utils.decode() is called:

Module Products.CMFDefault.utils, line 463, in decode
AttributeError: getProperty

def decode(value, context):
     """ Decode value using default_charset.
     """
     ptool = getUtility(IPropertiesTool)
     default_charset = ptool.getProperty('default_charset', None)
     return toUnicode(value, default_charset)

I can't see getProperty defined anywhere. No tests are failing.

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226





More information about the Zope-CMF mailing list