[Zope3-checkins] SVN: Zope3/trunk/src/zope/wfmc/process.py More information on exception message for debug purpose

Benji York benji at zope.com
Sat Jun 25 08:26:15 EDT 2005


Julien Anguenot wrote:
> Log message for revision 30916:
>   More information on exception message for debug purpose
> 
> Changed:
>   U   Zope3/trunk/src/zope/wfmc/process.py

> +            raise TypeError("Wrong number of parameters => "
> +                            "Actual=%s, Formal=%s for Application %s with id=%s"
> +                            %(str(actual), str(formal), str(app), str(app.id)))

The calls to "str" are superfluous.  The %s will do that for you.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope3-Checkins mailing list