fix tabs
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 4 Apr 2008 21:49:42 +0000 (21:49 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 4 Apr 2008 21:49:42 +0000 (21:49 +0000)
lib/python/Components/UsageConfig.py

index ad95b3c..cfdb458 100644 (file)
@@ -109,14 +109,13 @@ def InitUsageConfig():
 
 def updateChoices(sel, choices):
        if choices:
-                defval = None
-                val = int(sel.value)
+               defval = None
+               val = int(sel.value)
                if not val in choices:
-                        tmp = choices+[]
-                        tmp.reverse()
-                        for x in tmp:
-                                if x < val:
-                                        defval = str(x)
-                                        break
+                       tmp = choices+[]
+                       tmp.reverse()
+                       for x in tmp:
+                               if x < val:
+                                       defval = str(x)
+                                       break
                sel.setChoices(map(str, choices), defval)
-