summaryrefslogtreecommitdiff
path: root/python/rpmts-py.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-10-19 13:25:08 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-10-19 13:25:08 +0300
commit8e59724a585d8049c6a4569197e836ccaf4d717f (patch)
tree839a5f67512c9f7eed46ac9d31895043371e563b /python/rpmts-py.c
parent92919c2f73518a14e45c7586b5d2ef5f278255d4 (diff)
downloadrpm-8e59724a585d8049c6a4569197e836ccaf4d717f.tar.gz
rpm-8e59724a585d8049c6a4569197e836ccaf4d717f.tar.bz2
rpm-8e59724a585d8049c6a4569197e836ccaf4d717f.zip
Rename rpmpsProblem() -> rpmpsGetProblem() to make purpose clearer
Diffstat (limited to 'python/rpmts-py.c')
-rw-r--r--python/rpmts-py.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/rpmts-py.c b/python/rpmts-py.c
index cc8a17ab3..756cfbe5c 100644
--- a/python/rpmts-py.c
+++ b/python/rpmts-py.c
@@ -409,7 +409,7 @@ fprintf(stderr, "*** rpmts_Check(%p) ts %p cb %p\n", s, s->ts, cbInfo.cb);
int needsFlags, sense;
fnpyKey key;
- p = rpmpsProblem(psi);
+ p = rpmpsGetProblem(psi);
/* XXX autorelocated i386 on ia64, fix system-config-packages! */
if (rpmProblemGetType(p) == RPMPROB_BADRELOCATE)
@@ -1126,7 +1126,7 @@ fprintf(stderr, "*** rpmts_Run(%p) ts %p ignore %x\n", s, s->ts, s->ignoreSet);
list = PyList_New(0);
psi = rpmpsInitIterator(ps);
while (rpmpsNextIterator(psi) >= 0) {
- rpmProblem p = rpmpsProblem(psi);
+ rpmProblem p = rpmpsGetProblem(psi);
PyObject * prob = Py_BuildValue("s(isN)", rpmProblemString(p),
rpmProblemGetType(p),
rpmProblemGetStr(p),