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.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to