From 76e5181cade262b86610dcc851bcb4452196ccdc Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 12 Feb 2009 21:25:08 +0100 Subject: small speedups/cleanups by moritz venn --- lib/python/Components/UsageConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components/UsageConfig.py') diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py index 21e057f2..26138f20 100644 --- a/lib/python/Components/UsageConfig.py +++ b/lib/python/Components/UsageConfig.py @@ -118,7 +118,7 @@ def updateChoices(sel, choices): defval = None val = int(sel.value) if not val in choices: - tmp = choices+[] + tmp = choices[:] tmp.reverse() for x in tmp: if x < val: -- cgit v1.2.3