[Zope-CMF] Re: [Plone-developers] Solved (was: One for the workflow gurus)

Myroslav Opyr myroslav@zope.net.ua
Wed, 13 Nov 2002 12:19:19 +0200


Jean Jordaan wrote:

> It didn't really take a guru, I guess ..
>
> Look::
>
>   RequestMarkupReview =3D 'BIS Request Markup Review '
>                                                   ^
>   trans.guard.__dict__: {
>         'permissions': ('BIS Request Markup Review',)},
>                                                   ^
>
> There's an evil trailing space in the definition, which atrophies
> somewhere along the way. I'll go file a Collector issue on this ..

Why don't you used

trans.guard.__dict__: {
        'permissions': (RequestMarkupReview,)},

? m.
--=20
Myroslav Opyr
zope.net.ua <http://zope.net.ua/> =B0 Ukrainian Zope Hosting
e-mail: myroslav@zope.net.ua <mailto:myroslav@zope.net.ua>