diff options
author | jbj <devnull@localhost> | 2002-04-07 19:52:42 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-04-07 19:52:42 +0000 |
commit | ffdfd1056e25d18f95776fbff43fceca864be95f (patch) | |
tree | 56e72d723560122b38d8a2eb3a00e147ae0440e0 /python | |
parent | 6e2d56377d4ac91f44918e58918d777540f6565c (diff) | |
download | librpm-tizen-ffdfd1056e25d18f95776fbff43fceca864be95f.tar.gz librpm-tizen-ffdfd1056e25d18f95776fbff43fceca864be95f.tar.bz2 librpm-tizen-ffdfd1056e25d18f95776fbff43fceca864be95f.zip |
- speedup large queries by ~50%.
- revert to presentation ordering Yet Again (#62158).
- non-glibc: on upgrade, mergesort is much faster than quicksort.
CVS patchset: 5377
CVS date: 2002/04/07 19:52:42
Diffstat (limited to 'python')
-rw-r--r-- | python/rpmmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c index 57241d314..9da144631 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -1612,10 +1612,10 @@ static PyObject * rpmtransRun(rpmtransObject * s, PyObject * args) { list = PyList_New(0); for (i = 0; i < probs->numProblems; i++) { rpmProblem myprob = probs->probs + i; - prob = Py_BuildValue("s(isi)", rpmProblemString(myprob), + prob = Py_BuildValue("s(isN)", rpmProblemString(myprob), myprob->type, myprob->str1, - myprob->ulong1); + PyLong_FromLongLong(myprob->ulong1)); PyList_Append(list, prob); Py_DECREF(prob); } |