summaryrefslogtreecommitdiff
path: root/python/pkgsrcrecords.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-06-05 16:36:52 +0200
committerJulian Andres Klode <jak@debian.org>2009-06-05 16:36:52 +0200
commitacf0e2af557be18a31570f8e21ccf67233b20004 (patch)
tree87dab01259fedb0c379ed37811977a8489448243 /python/pkgsrcrecords.cc
parentf4fc81750d2dd7df9eda9599d2841ea70ff610ad (diff)
downloadpython-apt-acf0e2af557be18a31570f8e21ccf67233b20004.tar.gz
python/: Put all deprecated Get*() functions into #ifdef COMPAT_0_7.
Diffstat (limited to 'python/pkgsrcrecords.cc')
-rw-r--r--python/pkgsrcrecords.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pkgsrcrecords.cc b/python/pkgsrcrecords.cc
index dea7ff37..50445432 100644
--- a/python/pkgsrcrecords.cc
+++ b/python/pkgsrcrecords.cc
@@ -251,6 +251,7 @@ PyTypeObject PkgSrcRecordsType =
/*}}}*/
+#ifdef COMPAT_0_7
PyObject *GetPkgSrcRecords(PyObject *Self,PyObject *Args)
{
#if 0
@@ -266,4 +267,4 @@ PyObject *GetPkgSrcRecords(PyObject *Self,PyObject *Args)
return HandleErrors(CppPyObject_NEW<PkgSrcRecordsStruct>(&PkgSrcRecordsType));
}
-
+#endif