summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc2
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 /*{{{*/