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/pkgmanager.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'python/pkgmanager.cc') diff --git a/python/pkgmanager.cc b/python/pkgmanager.cc index 9a5d0e5b..5fff1e57 100644 --- a/python/pkgmanager.cc +++ b/python/pkgmanager.cc @@ -225,15 +225,6 @@ static PyObject *PkgManagerNew(PyTypeObject *type,PyObject *Args,PyObject *kwds) return PkgManagerObj; } -#ifdef COMPAT_0_7 -PyObject *GetPkgManager(PyObject *Self,PyObject *Args) -{ - PyErr_WarnEx(PyExc_DeprecationWarning, "apt_pkg.GetPackageManager() is " - "deprecated. Please see apt_pkg.PackageManager() for the " - "replacement.", 1); - return PkgManagerNew(&PyPackageManager2_Type,Args,0); -} -#endif static PyObject *PkgManagerInstall(PyObject *Self,PyObject *Args) { -- cgit v1.2.3