From f6478d73f49287031bd9e3e3b050efb8425664fa Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 8 Oct 2006 01:07:10 +0000 Subject: [PATCH] Fix dep_transform breakage (regression from r4596). svn path=/main/trunk/; revision=4617 --- pym/portage_update.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/portage_update.py b/pym/portage_update.py index 5f5af809f..bed74c35c 100644 --- 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 -- 2.26.2