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

Julien Anguenot ja at nuxeo.com
Sat Jun 25 08:32:37 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

done thanks

	J.

Benji York wrote:
> 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.


- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCvU7lGhoG8MxZ/pIRAg8RAJ974OjjxHYyix0GaIFXV7TKR89uXACfU2P8
pO1Hoc0tPIFX5lSZP8kd1UY=
=8k8u
-----END PGP SIGNATURE-----


More information about the Zope3-Checkins mailing list