diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-06-05 16:36:52 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-06-05 16:36:52 +0200 |
| commit | acf0e2af557be18a31570f8e21ccf67233b20004 (patch) | |
| tree | 87dab01259fedb0c379ed37811977a8489448243 /python/apt_pkgmodule.cc | |
| parent | f4fc81750d2dd7df9eda9599d2841ea70ff610ad (diff) | |
| download | python-apt-acf0e2af557be18a31570f8e21ccf67233b20004.tar.gz | |
python/: Put all deprecated Get*() functions into #ifdef COMPAT_0_7.
Diffstat (limited to 'python/apt_pkgmodule.cc')
| -rw-r--r-- | python/apt_pkgmodule.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index a34d4720..4ad4e56c 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -30,11 +30,13 @@ // newConfiguration - Build a new configuration class /*{{{*/ // --------------------------------------------------------------------- +#ifdef COMPAT_0_7 static char *doc_newConfiguration = "Construct a configuration instance"; static PyObject *newConfiguration(PyObject *self,PyObject *args) { return CppPyObject_NEW<Configuration>(&ConfigurationType); } +#endif /*}}}*/ // Version Wrappers /*{{{*/ |
