summaryrefslogtreecommitdiff
path: root/python/rpmmi-py.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-22 11:57:38 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-22 11:57:38 +0300
commite8f777b69dd34f887b7e9c2398ccddd61e8af265 (patch)
treecd11d337d4afca2b41c53be5ed36b0bfc89089dc /python/rpmmi-py.c
parent0715b04664ce348b73f6981dd07f0b464dddd049 (diff)
downloadlibrpm-tizen-e8f777b69dd34f887b7e9c2398ccddd61e8af265.tar.gz
librpm-tizen-e8f777b69dd34f887b7e9c2398ccddd61e8af265.tar.bz2
librpm-tizen-e8f777b69dd34f887b7e9c2398ccddd61e8af265.zip
Switch python bindings to use rpm(Dbi)TagVal as appropriate
- None of these are true enum uses as the value typically originates from python integers etc.
Diffstat (limited to 'python/rpmmi-py.c')
-rw-r--r--python/rpmmi-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmmi-py.c b/python/rpmmi-py.c
index 528767151..0b1c27aef 100644
--- a/python/rpmmi-py.c
+++ b/python/rpmmi-py.c
@@ -102,7 +102,7 @@ rpmmi_Pattern(rpmmiObject * s, PyObject * args, PyObject * kwds)
{
int type;
char * pattern;
- rpmTag tag;
+ rpmTagVal tag;
char * kwlist[] = {"tag", "type", "patern", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&is:Pattern", kwlist,