diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-08-31 15:34:04 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-08-31 15:34:04 +0200 |
| commit | 3ec4a3676de540d05286f3bdc41f00a799244f3b (patch) | |
| tree | 460e9e05ba521082d5f901fdd1452cbc9bf9c329 /python/acquire.cc | |
| parent | 8cd715add7f85fb67cc30e42449d83a2ef7cf0bd (diff) | |
| parent | 96476d01e881f52d53a70f1ae700594a0f321056 (diff) | |
| download | python-apt-3ec4a3676de540d05286f3bdc41f00a799244f3b.tar.gz | |
* add "provides" property to the apt.Version objects
* apt/debfile.py:
- fix error when reading binary content and add regresion test
Diffstat (limited to 'python/acquire.cc')
| -rw-r--r-- | python/acquire.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/acquire.cc b/python/acquire.cc index 6f9a1412..ab90bbdd 100644 --- a/python/acquire.cc +++ b/python/acquire.cc @@ -259,15 +259,15 @@ static PyMethodDef PkgAcquireMethods[] = { #define fetcher (GetCpp<pkgAcquire*>(Self)) static PyObject *PkgAcquireGetTotalNeeded(PyObject *Self,void*) { - return Py_BuildValue("d", fetcher->TotalNeeded()); + return Py_BuildValue("L", fetcher->TotalNeeded()); } static PyObject *PkgAcquireGetFetchNeeded(PyObject *Self,void*) { - return Py_BuildValue("d", fetcher->FetchNeeded()); + return Py_BuildValue("L", fetcher->FetchNeeded()); } static PyObject *PkgAcquireGetPartialPresent(PyObject *Self,void*) { - return Py_BuildValue("d", fetcher->PartialPresent()); + return Py_BuildValue("L", fetcher->PartialPresent()); } #undef fetcher |
