summaryrefslogtreecommitdiff
path: root/python/indexfile.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-07-25 09:29:23 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-07-25 09:29:23 +0200
commita13e90fd1c1f2809d60f61c1d16a3cf4ebba18c9 (patch)
tree4fc6bacd20775aee371fd68dc930a4783c1b7b0e /python/indexfile.cc
parente3791336f419ea14f3841814f37f4c8f00479588 (diff)
downloadpython-apt-a13e90fd1c1f2809d60f61c1d16a3cf4ebba18c9.tar.gz
* apt/package.py:
* apt/cache.py: * python/indexfile.cc: - increase str buffer in PackageIndexFileRepr
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' "