From: Zac Medico Date: Sat, 29 Oct 2011 23:52:06 +0000 (-0700) Subject: portagetree: remove broken depcheck method X-Git-Tag: v2.2.0_alpha72~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0744ebedfda56f446f83630084a8532edd68e363;p=portage.git portagetree: remove broken depcheck method It called dep_check without the required third argument. --- 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 = ""