projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04463a1
)
grab_pmask: use local repo_config reference
author
Zac Medico
<zmedico@gentoo.org>
Fri, 28 Oct 2011 01:45:19 +0000
(18:45 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 28 Oct 2011 01:45:19 +0000
(18:45 -0700)
The previous code worked, but it looked wrong because it was using the
'repo' variable from the parent scope.
pym/portage/package/ebuild/_config/MaskManager.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/_config/MaskManager.py
b/pym/portage/package/ebuild/_config/MaskManager.py
index 6b0f1c32a60b9683ca03119705fcc7c0db466c65..affa5af31d8afe10c166631b03357a114d4c65da 100644
(file)
--- a/
pym/portage/package/ebuild/_config/MaskManager.py
+++ b/
pym/portage/package/ebuild/_config/MaskManager.py
@@
-46,7
+46,7
@@
class MaskManager(object):
"in the future. Please either convert the following paths "
"to files, or add\nprofile-format = portage-1\nto the "
"repositories layout.conf.\n")
- % dict(repo_name=repo.name)),
+ % dict(repo_name=repo
_config
.name)),
noiselevel=-1)
return pmask_cache[loc]