diff options
Diffstat (limited to 'python/cache.cc')
| -rw-r--r-- | python/cache.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/cache.cc b/python/cache.cc index c0d9048b..5c1760d4 100644 --- a/python/cache.cc +++ b/python/cache.cc @@ -105,7 +105,8 @@ static PyObject *PkgCacheUpdate(PyObject *Self,PyObject *Args) return HandleErrors(Py_None); } - +#if 0 // reopening the cache is the job of the python code now + // doing it here is wrong and broken if(pyOpProgressInst != 0) { PyOpProgress progress; progress.setCallbackInst(pyOpProgressInst); @@ -118,7 +119,7 @@ static PyObject *PkgCacheUpdate(PyObject *Self,PyObject *Args) return HandleErrors(Py_None); } } - +#endif Py_INCREF(Py_None); return HandleErrors(Py_None); |
