From: Zac Medico Date: Thu, 5 May 2011 15:58:22 +0000 (-0700) Subject: emerge: fix misspell suggestion with category X-Git-Tag: v2.2.0_alpha31~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4602463a7d577c8c4534f2a675182e02ba93e570;p=portage.git emerge: fix misspell suggestion with category A name collision in the "cp" variable caused it to malfunction. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 52b92e2aa..47c0232cd 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3075,9 +3075,8 @@ class depgraph(object): all_cp.update(bindb.cp_all()) orig_cp_map = {} - for cp in all_cp: - cp_lower = cp.lower() - orig_cp_map.setdefault(cp_lower, []).append(cp) + for cp_orig in all_cp: + orig_cp_map.setdefault(cp_orig.lower(), []).append(cp_orig) all_cp = set(orig_cp_map) if cat: