[Rpm-maint] [PATCH 05/15] Convert all usage of two-expression exception raising to modern syntax

Panu Matilainen pmatilai at redhat.com
Mon Oct 19 09:38:44 UTC 2009


On Thu, 15 Oct 2009, David Malcolm wrote:

> Replace all usage of the two-expression
>    raise foo, 'bar'
> syntax with the long-equivalent
>    raise foo('bar')
> as the old syntax was removed in Python 3 (PEP 3109), and the new syntax
> is supported in Python 2

Right, this works as far back as I can test (Python 2.3) so no problems 
there. Applied.

 	- Panu -


More information about the Rpm-maint mailing list