diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-06-05 16:36:52 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-06-05 16:36:52 +0200 |
| commit | acf0e2af557be18a31570f8e21ccf67233b20004 (patch) | |
| tree | 87dab01259fedb0c379ed37811977a8489448243 /python/pkgsrcrecords.cc | |
| parent | f4fc81750d2dd7df9eda9599d2841ea70ff610ad (diff) | |
| download | python-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.cc | 3 |
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 |
