Permit comparison operator strings (<, >= etc) in python ds constructor
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 16 Dec 2010 12:11:25 +0000 (14:11 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 16 Dec 2010 15:12:12 +0000 (17:12 +0200)
commitbf37b06d19b769572c06a667b31164d6ed279155
treeb4023fd9c28a71c7602130ed5d17cbd3a8d3ac42
parent50ab0945c5ddffd354692f8c31616c3575ebbd11
Permit comparison operator strings (<, >= etc) in python ds constructor
- Creating ('foo', '>=', '1.2') dependency is much nicer than
  or'ing rpm.RPMSENSE_FOO for flags. Allow (but validate) the string
  usage, ints get passed as is.
python/rpmds-py.c