From 0744ebedfda56f446f83630084a8532edd68e363 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Oct 2011 16:52:06 -0700 Subject: [PATCH] portagetree: remove broken depcheck method It called dep_check without the required third argument. --- pym/portage/dbapi/porttree.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 9ad434f41..15f1faf3a 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -26,7 +26,7 @@ from portage.exception import PortageException, \ from portage.localization import _ from portage import eclass_cache, \ - eapi_is_supported, dep_check, \ + eapi_is_supported, \ _eapi_is_deprecated from portage import os from portage import _encodings @@ -1138,9 +1138,6 @@ class portagetree(object): psplit = pkgsplit(mysplit[1]) return "/".join([self.portroot, mysplit[0], psplit[0], mysplit[1]])+".ebuild" - def depcheck(self, mycheck, use="yes", myusesplit=None): - return dep_check(mycheck, self.dbapi, use=use, myuse=myusesplit) - def getslot(self,mycatpkg): "Get a slot for a catpkg; assume it exists." myslot = "" -- 2.26.2