diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-10-05 14:30:27 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-10-05 14:30:27 +0300 |
commit | 0503d7f92e94a7986715756da5226fc18a1fba10 (patch) | |
tree | b878c710791225381e64d7636a95bee31d970652 | |
parent | fab2debfe440d677dbd072c3cd73d2c99876e7a5 (diff) | |
download | rpm-0503d7f92e94a7986715756da5226fc18a1fba10.tar.gz rpm-0503d7f92e94a7986715756da5226fc18a1fba10.tar.bz2 rpm-0503d7f92e94a7986715756da5226fc18a1fba10.zip |
Teach python about the lowlevel RPMRC codes
-rw-r--r-- | python/rpmmodule.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c index a13e7a338..980aee034 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -270,6 +270,12 @@ void init_rpm(void) REGISTER_ENUM(RPMTAG_NOT_FOUND); + REGISTER_ENUM(RPMRC_OK); + REGISTER_ENUM(RPMRC_NOTFOUND); + REGISTER_ENUM(RPMRC_FAIL); + REGISTER_ENUM(RPMRC_NOTTRUSTED); + REGISTER_ENUM(RPMRC_NOKEY); + REGISTER_ENUM(RPMFILE_STATE_NORMAL); REGISTER_ENUM(RPMFILE_STATE_REPLACED); REGISTER_ENUM(RPMFILE_STATE_NOTINSTALLED); |