summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-09-01 14:23:28 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-09-01 14:23:28 +0300
commitfe444003ec23d7e9a7c57b7cbdef71dbaf12e34d (patch)
tree095b9a9344aa608f83876a0b36a8ef82ade08edf /python
parentff280b693e13f524af51f11a356c2b087ef7956b (diff)
downloadlibrpm-tizen-fe444003ec23d7e9a7c57b7cbdef71dbaf12e34d.tar.gz
librpm-tizen-fe444003ec23d7e9a7c57b7cbdef71dbaf12e34d.tar.bz2
librpm-tizen-fe444003ec23d7e9a7c57b7cbdef71dbaf12e34d.zip
Oops, RPMSENSE_PRETRANS and _POSTTRANS missing from python bindings
Diffstat (limited to 'python')
-rw-r--r--python/rpmmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 0cc7664a5..f9149cbab 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -378,7 +378,9 @@ static int initModule(PyObject *m)
REGISTER_ENUM(RPMSENSE_LESS);
REGISTER_ENUM(RPMSENSE_GREATER);
REGISTER_ENUM(RPMSENSE_EQUAL);
+ REGISTER_ENUM(RPMSENSE_POSTTRANS);
REGISTER_ENUM(RPMSENSE_PREREQ);
+ REGISTER_ENUM(RPMSENSE_PRETRANS);
REGISTER_ENUM(RPMSENSE_INTERP);
REGISTER_ENUM(RPMSENSE_SCRIPT_PRE);
REGISTER_ENUM(RPMSENSE_SCRIPT_POST);