self.timer = eTimer()
if type == HarddiskSetup.HARDDISK_INITIALIZE:
text = _("Initializing Harddisk...")
- self.timer.timeout.get().append(self.doInit)
+ self.timer.callback.append(self.doInit)
else:
text = _("Checking Filesystem...")
- self.timer.timeout.get().append(self.doCheck)
+ self.timer.callback.append(self.doCheck)
self["wait"] = Label(text)
self.timer.start(100)
Screen.__init__(self, session)
self.hdd = hdd
- if type not in [self.HARDDISK_INITIALIZE, self.HARDDISK_CHECK]:
+ if type not in (self.HARDDISK_INITIALIZE, self.HARDDISK_CHECK):
self.type = self.HARDDISK_INITIALIZE
else:
self.type = type