From 2c7117be05bd57bfc455d717dbb810e8c6fc8829 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 Sep 2010 15:45:07 -0700 Subject: Fix findLicensePath() breakage from previous. --- pym/portage/dbapi/porttree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 7cee4cfa1..d98479e29 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -226,7 +226,7 @@ class portdbapi(dbapi): x.sync() def findLicensePath(self, license_name): - for x in porttrees: + for x in self.porttrees: license_path = os.path.join(x, "licenses", license_name) if os.access(license_path, os.R_OK): return license_path -- cgit v1.2.3-1-g7c22