From: Zac Medico Date: Thu, 5 May 2011 15:58:22 +0000 (-0700) Subject: emerge: fix misspell suggestion with category X-Git-Tag: v2.1.9.47~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62e95606f6000ff133d95d7369de65ad0de25168;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 b230635aa..9e7b0bbfc 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2819,9 +2819,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: