projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
392c4ba
)
Fix findLicensePath() breakage from previous.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Sep 2010 22:45:07 +0000
(15:45 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Sep 2010 22:45:07 +0000
(15:45 -0700)
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 7cee4cfa149b7a77195c7555e53eaab0ca68c988..d98479e29e6e37e7700f758d15b0e3fa7565380a 100644
(file)
--- 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