From ae3f10fba648644a568dab3e21480580eb21e8a1 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 9 May 2005 12:59:08 +0000 Subject: * more work on the native python apt interface --- python/depcache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/depcache.cc') diff --git a/python/depcache.cc b/python/depcache.cc index d2ec4a8d..218fd0e9 100644 --- a/python/depcache.cc +++ b/python/depcache.cc @@ -493,7 +493,7 @@ PyTypeObject PkgDepCacheType = PyObject *GetDepCache(PyObject *Self,PyObject *Args) { PyObject *Owner; - if (PyArg_ParseTuple(Args,"O!",&PkgCacheType,&Owner) == 0) + if (PyArg_ParseTuple(Args,"O!|O",&PkgCacheType,&Owner) == 0) return 0; PyObject *DepCachePyObj; -- cgit v1.2.3