reenable fresh harddisk-init
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 1 Dec 2005 12:35:25 +0000 (12:35 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 1 Dec 2005 12:35:25 +0000 (12:35 +0000)
lib/python/Components/Harddisk.py

index 133e063..ca77e56 100644 (file)
@@ -130,8 +130,7 @@ class Harddisk:
        errorList = [ _("Everything is fine"), _("Creating partition failed"), _("Mkfs failed"), _("Mount failed"), _("Create movie folder failed"), _("Unmount failed")]
 
        def initialize(self):
-               if self.unmount() != 0:
-                       return -5
+               self.unmount()
 
                if self.createPartition() != 0:
                        return -1