summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-08-24 13:42:22 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-08-24 13:42:22 +0200
commitbf4f2623d4002d60053d06251caabaa266272402 (patch)
treec59aa9f644363cd254e19b34d39ce2cbf7243bdc /python
parent8c708ec819333e0360b815bbbb504460e9f15d9a (diff)
parent353d2494c234d87cb63affd07a927d1030fa9721 (diff)
downloadpython-apt-bf4f2623d4002d60053d06251caabaa266272402.tar.gz
merge from the debian-sid branch
Diffstat (limited to 'python')
-rw-r--r--python/cache.cc2
-rw-r--r--python/pkgsrcrecords.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/cache.cc b/python/cache.cc
index f0da8511..a88490bd 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -81,7 +81,7 @@ static PyObject *PkgCacheUpdate(PyObject *Self,PyObject *Args)
PyObject *pyFetchProgressInst = 0;
PyObject *pySourcesList = 0;
- int pulseInterval = 5000;
+ int pulseInterval = 0;
if (PyArg_ParseTuple(Args, "OO|i", &pyFetchProgressInst,&pySourcesList, &pulseInterval) == 0)
return 0;
diff --git a/python/pkgsrcrecords.cc b/python/pkgsrcrecords.cc
index f7f5d7a2..36493e7b 100644
--- a/python/pkgsrcrecords.cc
+++ b/python/pkgsrcrecords.cc
@@ -53,7 +53,7 @@ static PyObject *PkgSrcRecordsLookup(PyObject *Self,PyObject *Args)
return Py_BuildValue("i", 1);
}
-static char *doc_PkgSrcRecordsRestart = "Start Lookup from the begining";
+static char *doc_PkgSrcRecordsRestart = "Start Lookup from the beginning";
static PyObject *PkgSrcRecordsRestart(PyObject *Self,PyObject *Args)
{
PkgSrcRecordsStruct &Struct = GetCpp<PkgSrcRecordsStruct>(Self);