})
def hddInitialize(self):
- if self.hdd.getIndex() == 2: #CF
- print "not a good idea!"
- self.session.open(MessageBox, "not a good idea - this will kill our rootfs!")
- else:
- print "this will start the initialize now!"
- #self.hdd.initialize()
+ #some protection for the exhibition (IFA 2005)
+ #if self.hdd.getIndex() == 2: #CF
+ # print "not a good idea!"
+ # self.session.open(MessageBox, "not a good idea - this will kill our rootfs!")
+ #else:
+ print "this will start the initialize now!"
+ self.hdd.initialize()
class HarddiskSelection(Screen):
def __init__(self, session):
def okbuttonClick(self):
selection = self["hddlist"].getCurrent()
self.session.open(HarddiskSetup, selection[1])
- print "ok"
- pass