summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog8
-rw-r--r--python/indexfile.cc2
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' "