cleanup
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 4 Aug 2007 11:42:07 +0000 (11:42 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 4 Aug 2007 11:42:07 +0000 (11:42 +0000)
lib/python/Components/ConditionalWidget.py

index f826c29..c1baceb 100644 (file)
@@ -24,13 +24,10 @@ class ConditionalWidget(GUIComponent):
        def update(self):
                if (self.conditionalFunction != None):
                        try:
-                               self.conditionalFunction() # check, if the conditionalfunction is still valid
                                self.activateCondition(self.conditionalFunction())
                        except:
                                self.conditionalFunction = None
                                self.activateCondition(False)
-                       
-import time
 
 class BlinkingWidget(GUIComponent):
        def __init__(self):