projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31cd3e1
)
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 15:58:22 +0000
(08:58 -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 52b92e2aab18e327693ee80a9f21616f7e142878..47c0232cd08876e1ca3a3ea1958cb1cff83c12d8 100644
(file)
--- 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: