add missing file
[enigma2.git] / lib / python / Screens / TimeDateInput.py
index c50d8195aaeb743131c140d31a49f9f87a9cddc5..56ccae901b2088dc39cc2040566de18d68c9bbf1 100644 (file)
@@ -1,8 +1,7 @@
 from Screen import Screen
-from Components.config import *
-from Components.ActionMap import ActionMap, NumberActionMap
-from Components.ConfigList import ConfigList, ConfigListScreen
-from Components.Button import Button
+from Components.config import ConfigClock, ConfigDateTime, getConfigListEntry
+from Components.ActionMap import NumberActionMap
+from Components.ConfigList import ConfigListScreen
 from Components.Label import Label
 from Components.Pixmap import Pixmap
 import time
@@ -43,9 +42,10 @@ class TimeDateInput(Screen, ConfigListScreen):
                self.timeinput_time = conf_time
 
        def createSetup(self, configlist):
-               self.list = []
-               self.list.append(getConfigListEntry(_("Date"), self.timeinput_date))
-               self.list.append(getConfigListEntry(_("Time"), self.timeinput_time))
+               self.list = [
+                       getConfigListEntry(_("Date"), self.timeinput_date),
+                       getConfigListEntry(_("Time"), self.timeinput_time)
+               ]
                configlist.list = self.list
                configlist.l.setList(self.list)