git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show error messages when hdd-init fails
[enigma2.git]
/
lib
/
python
/
Components
/
Harddisk.py
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index 09864fc9f374d72ef3be0f9499ec60d37e9989ed..133e063fee322c413cd3bbdb86d1394f31a20104 100644
(file)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-127,6
+127,8
@@
class Harddisk:
res = os.system("mkdir /hdd/movies")
return (res >> 8)
res = os.system("mkdir /hdd/movies")
return (res >> 8)
+ 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
def initialize(self):
if self.unmount() != 0:
return -5