projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa46a26
)
emerge: fix misspell suggestion with category
author
Zac Medico
<zmedico@gentoo.org>
Thu, 5 May 2011 15:58:22 +0000
(08:58 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 5 May 2011 16:00:40 +0000
(09:00 -0700)
A name collision in the "cp" variable caused it to malfunction.
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index b230635aa1d8f5b16acf6c53b001f75305f3beeb..9e7b0bbfca4f967d7302ea6885bddaef2c317ef0 100644
(file)
--- 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: