summaryrefslogtreecommitdiffstats
path: root/rpmmodule/rpmmodule.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-17 23:09:43 +0000
committerMatt Wilson <msw@redhat.com>1999-09-17 23:09:43 +0000
commitcc7ef241d973f608dd66103807a53c090583300a (patch)
treed837190593163cdb9da02bb68a57c90a05bf3de2 /rpmmodule/rpmmodule.c
parent699cbd9bcee5c83043710b007d7a6feac7ebbb7a (diff)
downloadanaconda-cc7ef241d973f608dd66103807a53c090583300a.tar.gz
anaconda-cc7ef241d973f608dd66103807a53c090583300a.tar.xz
anaconda-cc7ef241d973f608dd66103807a53c090583300a.zip
need more info for the problem set when running a transaction
Diffstat (limited to 'rpmmodule/rpmmodule.c')
-rw-r--r--rpmmodule/rpmmodule.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/rpmmodule/rpmmodule.c b/rpmmodule/rpmmodule.c
index 640b72eb3..a0e1f789b 100644
--- a/rpmmodule/rpmmodule.c
+++ b/rpmmodule/rpmmodule.c
@@ -309,6 +309,27 @@ void initrpm(void) {
PyInt_FromLong(RPMCALLBACK_UNINST_START));
PyDict_SetItemString(d, "RPMCALLBACK_UNINST_STOP",
PyInt_FromLong(RPMCALLBACK_UNINST_STOP));
+
+ PyDict_SetItemString(d, "RPMPROB_BADARCH",
+ PyInt_FromLong(RPMPROB_BADARCH));
+ PyDict_SetItemString(d, "RPMPROB_BADOS",
+ PyInt_FromLong(RPMPROB_BADOS));
+ PyDict_SetItemString(d, "RPMPROB_PKG_INSTALLED",
+ PyInt_FromLong(RPMPROB_PKG_INSTALLED));
+ PyDict_SetItemString(d, "RPMPROB_BADRELOCATE",
+ PyInt_FromLong(RPMPROB_BADRELOCATE));
+ PyDict_SetItemString(d, "RPMPROB_REQUIRES",
+ PyInt_FromLong(RPMPROB_REQUIRES));
+ PyDict_SetItemString(d, "RPMPROB_CONFLICT",
+ PyInt_FromLong(RPMPROB_CONFLICT));
+ PyDict_SetItemString(d, "RPMPROB_NEW_FILE_CONFLICT",
+ PyInt_FromLong(RPMPROB_NEW_FILE_CONFLICT));
+ PyDict_SetItemString(d, "RPMPROB_FILE_CONFLICT",
+ PyInt_FromLong(RPMPROB_FILE_CONFLICT));
+ PyDict_SetItemString(d, "RPMPROB_OLDPACKAGE",
+ PyInt_FromLong(RPMPROB_OLDPACKAGE));
+ PyDict_SetItemString(d, "RPMPROB_DISKSPACE",
+ PyInt_FromLong(RPMPROB_DISKSPACE));
}