[Zope3-dev] Re: Missing global name warn in
zope.app.security.principalregistry
Philipp von Weitershausen
philipp at weitershausen.de
Fri Apr 2 03:02:24 EST 2004
Stephan Richter wrote:
> On Thursday 01 April 2004 15:33, Roger Ineichen wrote:
>
>>Module zope.app.security.principalregistry, line 129, in getTitle
>>warn("Use principal.title instead of principal.getTitle().",
>>NameError: global name 'warn' is not defined
>
>
> However, you should not use getTitle() anymore.
It probably should raise a DeprecationWarning then...
Philipp
More information about the Zope3-dev
mailing list