summaryrefslogtreecommitdiff
path: root/python/pkgrecords.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2013-08-26 13:39:57 +0200
committerJulian Andres Klode <jak@debian.org>2013-09-11 20:14:52 +0200
commit044322b4dca1135671a93ebfe1601214f7f6e655 (patch)
tree6b9ba04f4aab7f24bfead1da769aa6707140975c /python/pkgrecords.cc
parent14086582c87c4297fd14bd3c3831afd3cd1d2833 (diff)
downloadpython-apt-044322b4dca1135671a93ebfe1601214f7f6e655.tar.gz
Remove old API compatibility C++ support code
Diffstat (limited to 'python/pkgrecords.cc')
-rw-r--r--python/pkgrecords.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/python/pkgrecords.cc b/python/pkgrecords.cc
index 8d2cb502..8e6084a9 100644
--- a/python/pkgrecords.cc
+++ b/python/pkgrecords.cc
@@ -218,12 +218,3 @@ PyTypeObject PyPackageRecords_Type =
/*}}}*/
-#ifdef COMPAT_0_7
-PyObject *GetPkgRecords(PyObject *Self,PyObject *Args)
-{
- PyErr_WarnEx(PyExc_DeprecationWarning, "apt_pkg.GetPkgRecords() is "
- "deprecated. Please see apt_pkg.Records() for the "
- "replacement.", 1);
- return PkgRecordsNew(&PyPackageRecords_Type,Args,0);
-}
-#endif