summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-09-24 20:56:46 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-09-24 20:56:46 +0200
commitcb2cc9a9765a03c0970c525716c7267547828002 (patch)
tree6b7ef3d9ee5ba1c3f374fdb29b0b66c2f4038267 /python
parentcb12be4893d8ac79dcbaa77e30cf61d69a4e859e (diff)
downloadpython-apt-cb2cc9a9765a03c0970c525716c7267547828002.tar.gz
merge fix from Steven Chamberlain <steven@pyro.eu.org> for
crash in unattended-upgrades, many many thanks (closes: #596408)
Diffstat (limited to 'python')
-rw-r--r--python/acquire-item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/acquire-item.cc b/python/acquire-item.cc
index 4b7dc34d..abc773b5 100644
--- a/python/acquire-item.cc
+++ b/python/acquire-item.cc
@@ -162,7 +162,7 @@ static PyObject *acquireitem_repr(PyObject *Self)
return 0;
return PyString_FromFormat("<%s object: "
"Status: %i Complete: %i Local: %i IsTrusted: %i "
- "FileSize: %lu DestFile:'%s' "
+ "FileSize: %llu DestFile:'%s' "
"DescURI: '%s' ID:%lu ErrorText: '%s'>",
Self->ob_type->tp_name,
Itm->Status, Itm->Complete, Itm->Local, Itm->IsTrusted(),