summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-13 14:33:39 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-13 14:33:39 +0200
commit8e3c0bf27b47835069a1e78c6dc4180c6efa883b (patch)
tree813009d364de45586e90ffeb9906555c7b31a573 /python/apt_pkgmodule.cc
parentdabc8c6796afdaf0e2918db77117a07eae8b1fd4 (diff)
downloadpython-apt-8e3c0bf27b47835069a1e78c6dc4180c6efa883b.tar.gz
python/apt_pkgmodule.cc: ParseDepends_old only needed in COMPAT_0_7.
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 d236820a..3146298b 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -167,6 +167,7 @@ static PyObject *ParseSrcDepends(PyObject *Self,PyObject *Args)
{
return RealParseDepends(Self,Args,true);
}
+#ifdef COMPAT_0_7
static PyObject *ParseDepends_old(PyObject *Self,PyObject *Args)
{
return RealParseDepends(Self,Args,false, true);
@@ -175,6 +176,7 @@ static PyObject *ParseSrcDepends_old(PyObject *Self,PyObject *Args)
{
return RealParseDepends(Self,Args,true, true);
}
+#endif
/*}}}*/
// md5sum - Compute the md5sum of a file or string /*{{{*/
// ---------------------------------------------------------------------