[Product-Developers] Re: finishing a product
Maurits van Rees
m.van.rees at zestsoftware.nl
Thu Apr 10 19:49:42 UTC 2008
John DeStefano, on 2008-04-10:
> Thank you. All the above seems well. Invoking a state transition
> throws an error, on the line in the subscriber that is supposed to
> check for the 'publish' state, which was:
> if not event.transition or \
> event.transition.id != 'publish':
> return
>
> I've tried changing this to something I saw elsewhere:
> transition = event.transition.id
> if not event.transition or \
> transition != 'publish':
> return
>
> ... but no luck there. Updated:
> http://deesto.pastebin.com/f6e2fbd63
>
> (strangely enough: the indentation of lines 31-43 appears off by a
> space to the right in the posting).
So: what exact error do you get?
--
Maurits van Rees | http://maurits.vanrees.org/
Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]
More information about the Product-Developers
mailing list