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:
6363119
)
Adjust python callback for amount+total type change
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 Jun 2008 10:02:23 +0000
(13:02 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 Jun 2008 10:02:23 +0000
(13:02 +0300)
python/rpmts-py.c
patch
|
blob
|
history
diff --git
a/python/rpmts-py.c
b/python/rpmts-py.c
index
3e84a82
..
38d897d
100644
(file)
--- a/
python/rpmts-py.c
+++ b/
python/rpmts-py.c
@@
-860,7
+860,7
@@
rpmtsCallback(const void * hd, const rpmCallbackType what,
PyEval_RestoreThread(cbInfo->_save);
- args = Py_BuildValue("(i
ll
OO)", what, amount, total, pkgObj, cbInfo->data);
+ args = Py_BuildValue("(i
LL
OO)", what, amount, total, pkgObj, cbInfo->data);
result = PyEval_CallObject(cbInfo->cb, args);
Py_DECREF(args);
Py_DECREF(pkgObj);