projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab2deb
)
Teach python about the lowlevel RPMRC codes
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 5 Oct 2009 11:30:27 +0000
(14:30 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 5 Oct 2009 11:30:27 +0000
(14:30 +0300)
python/rpmmodule.c
patch
|
blob
|
history
diff --git
a/python/rpmmodule.c
b/python/rpmmodule.c
index
a13e7a3
..
980aee0
100644
(file)
--- 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);