From 78dabbbdf5dea09b9dcc60295f519f04817ddde1 Mon Sep 17 00:00:00 2001 From: lxnay Date: Thu, 1 May 2008 14:22:22 +0000 Subject: [PATCH] Entropy/EquoInterface: - fix infinite loop on packages removal git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1899 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/entropy.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/entropy.py b/libraries/entropy.py index 978818082..56001e54f 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -3927,6 +3927,10 @@ class PackageInterface: line = old.readline() while line: if line.find(key) != -1: + line = old.readline() + continue + if line.find(key+":"+slot) != -1: + line = old.readline() continue new.write(line) line = old.readline()