summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-30 15:45:07 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-30 15:45:07 -0700
commit2c7117be05bd57bfc455d717dbb810e8c6fc8829 (patch)
tree5f6d7fede26624ddea2283218330986fe823dca0 /pym
parent392c4ba059f14455dbc824388c30f619ed78adbe (diff)
downloadportage-2c7117be05bd57bfc455d717dbb810e8c6fc8829.tar.gz
portage-2c7117be05bd57bfc455d717dbb810e8c6fc8829.tar.bz2
portage-2c7117be05bd57bfc455d717dbb810e8c6fc8829.zip
Fix findLicensePath() breakage from previous.
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dbapi/porttree.py2
1 files changed, 1 insertions, 1 deletions
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