diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-13 14:33:39 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-13 14:33:39 +0200 |
| commit | 8e3c0bf27b47835069a1e78c6dc4180c6efa883b (patch) | |
| tree | 813009d364de45586e90ffeb9906555c7b31a573 /python/apt_pkgmodule.cc | |
| parent | dabc8c6796afdaf0e2918db77117a07eae8b1fd4 (diff) | |
| download | python-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.cc | 2 |
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 /*{{{*/ // --------------------------------------------------------------------- |
