summaryrefslogtreecommitdiff
path: root/python/indexfile.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-07-30 18:27:09 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-07-30 18:27:09 +0200
commit254c868e6e5e536eecdafc27c546b036397c2dc5 (patch)
tree10929dbd7f557d786ec4cffe617595e2931500b6 /python/indexfile.cc
parent62dcebd65b53d61b16df35d76b3e65481658d1fc (diff)
parenta13e90fd1c1f2809d60f61c1d16a3cf4ebba18c9 (diff)
downloadpython-apt-254c868e6e5e536eecdafc27c546b036397c2dc5.tar.gz
* aptsources/distro.py:
- generalized some code, bringing it into the Distribution class, and wrote some missing methods for the DebianDistribution one (thanks to Gustavo Noronha Silva) * debian/control: - updated for python-distutils-extra (>= 1.9.0) * debian/python-apt.install: - fix i18n files * python/indexfile.cc: - increase str buffer in PackageIndexFileRepr * apt/package.py: * apt/cache.py:
Diffstat (limited to 'python/indexfile.cc')
-rw-r--r--python/indexfile.cc2
1 files changed, 1 insertions, 1 deletions
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' "