diff options
| author | Julian Andres Klode <jak@debian.org> | 2013-08-26 13:39:57 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2013-09-11 20:14:52 +0200 |
| commit | 044322b4dca1135671a93ebfe1601214f7f6e655 (patch) | |
| tree | 6b9ba04f4aab7f24bfead1da769aa6707140975c /python/pkgmanager.cc | |
| parent | 14086582c87c4297fd14bd3c3831afd3cd1d2833 (diff) | |
| download | python-apt-044322b4dca1135671a93ebfe1601214f7f6e655.tar.gz | |
Remove old API compatibility C++ support code
Diffstat (limited to 'python/pkgmanager.cc')
| -rw-r--r-- | python/pkgmanager.cc | 9 |
1 files changed, 0 insertions, 9 deletions
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) { |
