On Tuesday 30 August 2005 18:10, Benji York wrote:
> > class StateNamesVocabulary(SimpleVocabulary):
> > """Vocabulary providing the names of states in a local process
> > definition. """
> > @@ -61,7 +65,7 @@
> > for obj in zapi.getParents(context):
> > if IStatefulProcessDefinition.providedBy(obj):
> > return obj.getStateNames()
> > - raise 'NoLocalProcessDefinition', 'No local process definition
> > found.' + raise NoLocalProcessDefinition('No local process
> > definition found.')
> I'm not sure it's worth worrying about (and I definitely prefer the new
> version better), but these type conversions are not backward compatible.
> Of course it's only a problem if anyone is trying to catch the
> string version of the exception.
This code has never been released as part of Zope 3.0 (but separately) is not
in 3.1 and does not even work in the latter.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list