summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/backend/flags.py2
1 files changed, 1 insertions, 1 deletions
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))