diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-11-22 11:21:49 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-11-22 11:21:49 +0000 |
| commit | f398b1a5833fdf50f8c0c541958d5770ea767be8 (patch) | |
| tree | 95d91a49f637820cd0b554cf381d35105b7e75cc /python/acquire.cc | |
| parent | c26431eebbd6d9b90bba2498355e1874a15aba60 (diff) | |
| download | python-apt-f398b1a5833fdf50f8c0c541958d5770ea767be8.tar.gz | |
* fix in the pkgmanager.cc code (/me needs to be hit with a clue-stick)
Diffstat (limited to 'python/acquire.cc')
| -rw-r--r-- | python/acquire.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/acquire.cc b/python/acquire.cc index 91d75a6b..87f2717a 100644 --- a/python/acquire.cc +++ b/python/acquire.cc @@ -60,8 +60,12 @@ static PyObject *AcquireItemRepr(PyObject *Self) char S[300]; snprintf(S,sizeof(S),"<pkgAcquire::ItemIterator object: " - "DestFile:'%s' ID:%i>", - (*I)->DestFile.c_str(),(*I)->ID); + "Status: %i Complete: %i Local: %i IsTrusted: %i " + "FileSize: %i DestFile:'%s' " + "DescURI: '%s' ID:%i ErrorText: '%s'>", + (*I)->Status, (*I)->Complete, (*I)->Local, (*I)->IsTrusted(), + (*I)->FileSize, (*I)->DestFile.c_str(), (*I)->DescURI().c_str(), + (*I)->ID,(*I)->ErrorText.c_str()); return PyString_FromString(S); } |
