diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-07-25 09:29:23 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-07-25 09:29:23 +0200 |
| commit | a13e90fd1c1f2809d60f61c1d16a3cf4ebba18c9 (patch) | |
| tree | 4fc6bacd20775aee371fd68dc930a4783c1b7b0e | |
| parent | e3791336f419ea14f3841814f37f4c8f00479588 (diff) | |
| download | python-apt-a13e90fd1c1f2809d60f61c1d16a3cf4ebba18c9.tar.gz | |
* apt/package.py:
* apt/cache.py:
* python/indexfile.cc:
- increase str buffer in PackageIndexFileRepr
| -rw-r--r-- | debian/changelog | 8 | ||||
| -rw-r--r-- | python/indexfile.cc | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index 5052d867..37df62a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,12 +1,12 @@ python-apt (0.7.3) unstable; urgency=low - * python/package.py: + * apt/package.py: - added Record class that can be accessed like a dictionary and return it in candidateRecord and installedRecord (thanks to Alexander Sack for discussing this with me) * doc/examples/records.py: - added example how to use the new Records class - * python/cache.py: + * apt/cache.py: - throw FetchCancelleException, FetchFailedException, LockFailedException exceptions when something goes wrong * aptsources/distro.py: @@ -17,8 +17,10 @@ python-apt (0.7.3) unstable; urgency=low - updated for python-distutils-extra (>= 1.9.0) * debian/python-apt.install: - fix i18n files + * python/indexfile.cc: + - increase str buffer in PackageIndexFileRepr - -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 02 Jul 2007 18:33:36 +0200 + -- python-apt (0.7.2) unstable; urgency=low diff --git a/python/indexfile.cc b/python/indexfile.cc index ef6ffc8a..4e32f2ab 100644 --- a/python/indexfile.cc +++ b/python/indexfile.cc @@ -56,7 +56,7 @@ static PyObject *PackageIndexFileRepr(PyObject *Self) { pkgIndexFile *File = GetCpp<pkgIndexFile*>(Self); - char S[300]; + char S[1024]; snprintf(S,sizeof(S),"<pkIndexFile object: " "Label:'%s' Describe='%s' Exists='%i' " "HasPackages='%i' Size='%i' " |
