projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf1a2a
)
Fix dep_transform breakage (regression from r4596).
author
Zac Medico
<zmedico@gentoo.org>
Sun, 8 Oct 2006 01:07:10 +0000
(
01:07
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 8 Oct 2006 01:07:10 +0000
(
01:07
-0000)
svn path=/main/trunk/; revision=4617
pym/portage_update.py
patch
|
blob
|
history
diff --git
a/pym/portage_update.py
b/pym/portage_update.py
index 5f5af809f979f30af47bfc6d5ebcb0ff6fd496ee..bed74c35ccd379e5641d9a379a0e821bbe10a531 100644
(file)
--- a/
pym/portage_update.py
+++ b/
pym/portage_update.py
@@
-214,4
+214,6
@@
def update_config_files(config_root, protect, protect_mask, update_iter):
continue
def dep_transform(mydep, oldkey, newkey):
- return mydep.replace(oldkey, newkey, 1)
+ if dep_getkey(mydep) == oldkey:
+ return mydep.replace(oldkey, newkey, 1)
+ return mydep