From 05edd05088ca7f8f76f2c2b7dda9658b6cb50678 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 26 Mar 2009 22:06:15 +0100 Subject: Need a copy to remove from --- portato/backend/flags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/backend') diff --git a/portato/backend/flags.py b/portato/backend/flags.py index f23e245..49fa608 100644 --- a/portato/backend/flags.py +++ b/portato/backend/flags.py @@ -673,7 +673,7 @@ def set_testing (pkg, enable): if not cpv in newTesting: newTesting[cpv] = [] - for file, line in newTesting[cpv]: + for file, line in newTesting[cpv][:]: if (enable and line != "-1") or (not enable and line == "-1"): newTesting[cpv].remove((file, line)) -- cgit v1.2.3-54-g00ecf