Convert all usage of two-expression exception raising to modern syntax
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 15 Oct 2009 19:14:59 +0000 (15:14 -0400)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 19 Oct 2009 09:32:14 +0000 (12:32 +0300)
commit72165c7717e26050c6785f8b103f69baaa06dd40
treeb80d80a9c2cf14adce1f14533ed147e1b18114bd
parenta2999caaf4fb6a1d121b71d009d15a7a651d2bf0
Convert all usage of two-expression exception raising to modern syntax

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
python/rpm/transaction.py