diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-05-09 12:59:08 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-05-09 12:59:08 +0000 |
| commit | ae3f10fba648644a568dab3e21480580eb21e8a1 (patch) | |
| tree | 4e7f64dc172c4813f926d8607672e28ce07f04bb /python | |
| parent | 5e4d32fbdcb6ab0bfe5326e09fea1c9ecd7ef98d (diff) | |
| download | python-apt-ae3f10fba648644a568dab3e21480580eb21e8a1.tar.gz | |
* more work on the native python apt interface
Diffstat (limited to 'python')
| -rw-r--r-- | python/depcache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
