diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-09-24 21:21:50 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-09-24 21:21:50 +0200 |
| commit | 9c9e4973bc5051a75b8b6c4f94be20fef5e881df (patch) | |
| tree | 32fa922dc63af77c9badeb54465fd669ed0daea5 | |
| parent | cb2cc9a9765a03c0970c525716c7267547828002 (diff) | |
| download | python-apt-9c9e4973bc5051a75b8b6c4f94be20fef5e881df.tar.gz | |
* python/acquire-item.cc:
- fix two more int -> long long change to follow the changes
from libapt
| -rw-r--r-- | debian/changelog | 3 | ||||
| -rw-r--r-- | python/acquire-item.cc | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 6f7dccfc..e4f07bcf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,9 @@ python-apt (0.7.97.2) UNRELEASED; urgency=low Sebastian Heinlein, LP: #642936 * merge fix from Steven Chamberlain <steven@pyro.eu.org> for crash in unattended-upgrades, many many thanks (closes: #596408) + * python/acquire-item.cc: + - fix two more int -> long long change to follow the changes + from libapt -- Michael Vogt <mvo@debian.org> Fri, 27 Aug 2010 11:22:23 +0200 diff --git a/python/acquire-item.cc b/python/acquire-item.cc index abc773b5..377b077a 100644 --- a/python/acquire-item.cc +++ b/python/acquire-item.cc @@ -65,7 +65,7 @@ static PyObject *acquireitem_get_error_text(PyObject *self, void *closure) static PyObject *acquireitem_get_filesize(PyObject *self, void *closure) { pkgAcquire::Item *item = acquireitem_tocpp(self); - return item ? Py_BuildValue("i", item->FileSize) : 0; + return item ? Py_BuildValue("K", item->FileSize) : 0; } static PyObject *acquireitem_get_id(PyObject *self, void *closure) @@ -95,7 +95,7 @@ static PyObject *acquireitem_get_local(PyObject *self, void *closure) static PyObject *acquireitem_get_partialsize(PyObject *self, void *closure) { pkgAcquire::Item *item = acquireitem_tocpp(self); - return item ? Py_BuildValue("i", item->PartialSize) : 0; + return item ? Py_BuildValue("K", item->PartialSize) : 0; } static PyObject *acquireitem_get_status(PyObject *self, void *closure) |
