From 044322b4dca1135671a93ebfe1601214f7f6e655 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 26 Aug 2013 13:39:57 +0200 Subject: Remove old API compatibility C++ support code --- python/pkgrecords.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'python/pkgrecords.cc') 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 -- cgit v1.2.3