summaryrefslogtreecommitdiff
path: root/portato/backend/flags.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-03-26 22:06:15 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-03-26 22:06:15 +0100
commit05edd05088ca7f8f76f2c2b7dda9658b6cb50678 (patch)
tree76ccbe6418d40047c3433238db07bbd6656e25a9 /portato/backend/flags.py
parentf2b0f5db230e8fdfec3f5fa0fcc53766582daf6b (diff)
downloadportato-05edd05088ca7f8f76f2c2b7dda9658b6cb50678.tar.gz
portato-05edd05088ca7f8f76f2c2b7dda9658b6cb50678.tar.bz2
portato-05edd05088ca7f8f76f2c2b7dda9658b6cb50678.zip
Need a copy to remove from
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))