more complete error message
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 27 Jul 2007 22:20:16 +0000 (22:20 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 27 Jul 2007 22:20:16 +0000 (22:20 +0000)
lib/python/Components/Converter/EventTime.py

index 425af53..966f2ca 100644 (file)
@@ -28,7 +28,7 @@ class EventTime(Poll, Converter, object):
                        self.poll_interval = 30*1000
                        self.poll_enabled = True
                else:
-                       raise str("'%s' is not <StartTime|EndTime|Remaining|Duration> for EventTime converter" % type)
+                       raise str("'%s' is not <StartTime|EndTime|Remaining|Duration|Progress> for EventTime converter" % type)
 
        @cached
        def getTime(self):