summaryrefslogtreecommitdiff
path: root/python/pkgrecords.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/pkgrecords.cc')
-rw-r--r--python/pkgrecords.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/pkgrecords.cc b/python/pkgrecords.cc
index 212e4ab0..6022097a 100644
--- a/python/pkgrecords.cc
+++ b/python/pkgrecords.cc
@@ -210,9 +210,9 @@ PyTypeObject PkgRecordsType =
/*}}}*/
-
+#ifdef COMPAT_0_7
PyObject *GetPkgRecords(PyObject *Self,PyObject *Args)
{
return PkgRecordsNew(&PkgRecordsType,Args,0);
}
-
+#endif