29 Sep
2005
29 Sep
'05
9:04 a.m.
On 9/29/05, Chris Withers <chris@simplistix.co.uk> wrote:
*sigh*, looks like some of the project registration machinery has changed between 2.7 and 2.8.
Well, you are using __dict__, which you aren't supposed t odo for new style classes, which FactoryDispatchers now seem to be. This code: if not hasattr(pack, '_m'): pack._m=fd.__dict__ fd.debug_compile = debug_compile fd.debug_compile__roles__ = ('Manager',) Goes around that, by setting the attributes on the original object instead of trying to manipulate the dicts directly. But I don't understand what you are trying to do, so I don't know if it's a good idea. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/