summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/cache.cc b/python/cache.cc
index d09e22f3..38b715de 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -1345,8 +1345,9 @@ PyTypeObject RDepListType =
/*}}}*/
-
+#ifdef COMPAT_0_7
PyObject *TmpGetCache(PyObject *Self,PyObject *Args)
{
return PkgCacheNew(&PkgCacheType,Args,0);
}
+#endif