From: Zac Medico Date: Fri, 28 Oct 2011 01:45:19 +0000 (-0700) Subject: grab_pmask: use local repo_config reference X-Git-Tag: v2.2.0_alpha72~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fb07ebafca678357afebbba2da284e22be7e625d;p=portage.git 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. --- 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]