summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-08-29 22:04:33 +0000
committerjbj <devnull@localhost>2000-08-29 22:04:33 +0000
commitc7b24dad58de9de732247194935112066908ff4c (patch)
tree8a9fc2d06ce04bae8adfe8f54a585f2bcb5ab303 /python
parent17c5c7e645fd412f8105bccf201f69674737b551 (diff)
downloadlibrpm-tizen-c7b24dad58de9de732247194935112066908ff4c.tar.gz
librpm-tizen-c7b24dad58de9de732247194935112066908ff4c.tar.bz2
librpm-tizen-c7b24dad58de9de732247194935112066908ff4c.zip
- translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).
Doxygen annotations. CVS patchset: 4146 CVS date: 2000/08/29 22:04:33
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.in1
-rw-r--r--python/rpmmodule.c9
2 files changed, 5 insertions, 5 deletions
diff --git a/python/Makefile.in b/python/Makefile.in
index b9eb16ad0..61a38e8c9 100644
--- a/python/Makefile.in
+++ b/python/Makefile.in
@@ -97,7 +97,6 @@ LIBDIR = @LIBDIR@
LIBMISC = @LIBMISC@
LIBOBJS = @LIBOBJS@
LIBRPMALIAS_FILENAME = @LIBRPMALIAS_FILENAME@
-LIBRPMRC_FILENAME = @LIBRPMRC_FILENAME@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 9a2d626b2..d2ac0eafb 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -1729,10 +1729,11 @@ static PyObject * rpmtransRun(rpmtransObject * s, PyObject * args) {
list = PyList_New(0);
for (i = 0; i < probs->numProblems; i++) {
- prob = Py_BuildValue("s(isi)", rpmProblemString(probs->probs[i]),
- probs->probs[i].type,
- probs->probs[i].str1,
- probs->probs[i].ulong1);
+ rpmProblem myprob = probs->probs + i;
+ prob = Py_BuildValue("s(isi)", rpmProblemString(myprob),
+ myprob->type,
+ myprob->str1,
+ myprob->ulong1);
PyList_Append(list, prob);
Py_DECREF(prob);
}