diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-30 15:45:07 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-30 15:45:07 -0700 |
commit | 2c7117be05bd57bfc455d717dbb810e8c6fc8829 (patch) | |
tree | 5f6d7fede26624ddea2283218330986fe823dca0 | |
parent | 392c4ba059f14455dbc824388c30f619ed78adbe (diff) | |
download | portage-2c7117be05bd57bfc455d717dbb810e8c6fc8829.tar.gz portage-2c7117be05bd57bfc455d717dbb810e8c6fc8829.tar.bz2 portage-2c7117be05bd57bfc455d717dbb810e8c6fc8829.zip |
Fix findLicensePath() breakage from previous.
-rw-r--r-- | pym/portage/dbapi/porttree.py | 2 |
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 |