git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb4b54a
)
reenable fresh harddisk-init
author
Stefan Pluecken
<
[email protected]
>
Thu, 1 Dec 2005 12:35:25 +0000
(12:35 +0000)
committer
Stefan Pluecken
<
[email protected]
>
Thu, 1 Dec 2005 12:35:25 +0000
(12:35 +0000)
lib/python/Components/Harddisk.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index 133e063fee322c413cd3bbdb86d1394f31a20104..ca77e56f962eb11f3fc87d0fab1405386de9b375 100644
(file)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-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