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/acquire.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'python/acquire.cc') diff --git a/python/acquire.cc b/python/acquire.cc index 45b4493c..82968a9d 100644 --- a/python/acquire.cc +++ b/python/acquire.cc @@ -400,12 +400,4 @@ PyTypeObject PyAcquire_Type = { PkgAcquireNew, // tp_new }; -#ifdef COMPAT_0_7 -PyObject *GetAcquire(PyObject *Self,PyObject *Args) -{ - PyErr_WarnEx(PyExc_DeprecationWarning,"apt_pkg.GetAcquire() is deprecated." - " Please see apt_pkg.Acquire() for the replacement.", 1); - return PkgAcquireNew(&PyAcquire_Type,Args,0); -} -#endif -- cgit v1.2.3