From 8e3c0bf27b47835069a1e78c6dc4180c6efa883b Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 13 Jul 2009 14:33:39 +0200 Subject: python/apt_pkgmodule.cc: ParseDepends_old only needed in COMPAT_0_7. --- python/apt_pkgmodule.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python') 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 /*{{{*/ // --------------------------------------------------------------------- -- cgit v1.2.3