diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-10-27 18:45:19 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-10-27 18:45:19 -0700 |
commit | fb07ebafca678357afebbba2da284e22be7e625d (patch) | |
tree | 27d4d515d76184f9f8707079f77ca788925f5357 /pym/portage | |
parent | 04463a130cadf6eadcb2f49ba6026a248ea2c9c4 (diff) | |
download | portage-fb07ebafca678357afebbba2da284e22be7e625d.tar.gz portage-fb07ebafca678357afebbba2da284e22be7e625d.tar.bz2 portage-fb07ebafca678357afebbba2da284e22be7e625d.zip |
grab_pmask: use local repo_config reference
The previous code worked, but it looked wrong because it was using the
'repo' variable from the parent scope.
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/package/ebuild/_config/MaskManager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/_config/MaskManager.py b/pym/portage/package/ebuild/_config/MaskManager.py index 6b0f1c32a..affa5af31 100644 --- 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] |