[Solo] do not set "add" twice

This commit is contained in:
Fabio Erculiani
2012-11-04 15:22:08 +01:00
parent 26b7d9cb54
commit cda4577291

View File

@@ -614,12 +614,11 @@ Tools to rescue the running system.
if atom:
atomkey = entropy.dep.dep_getkey(atom)
atomslot = inst_repo.retrieveSlot(package_id)
add = True
spm_slots = _spm_key_slot_map.get(atomkey)
if spm_slots is not None:
if atomslot in spm_slots:
# do not ad to to_be_removed
# do not add to to_be_removed
add = False
if add: