git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix service type
[enigma2.git]
/
lib
/
python
/
Components
/
Harddisk.py
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index e0b668720c4e9bdf9ee1d260e1399f06d3fd35eb..dfc262d84b889407dcd81c41df5429f3a8980be1 100644
(file)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-203,6
+203,12
@@
class Harddisk:
return -3
return 0
return -3
return 0
+
+ def getDeviceDir(self):
+ return self.devidex
+
+ def getDeviceName(self):
+ return self.getDeviceDir() + "disc"
class Partition:
def __init__(self, mountpoint, description = "", force_mounted = False):
class Partition:
def __init__(self, mountpoint, description = "", force_mounted = False):
@@
-355,7
+361,6
@@
class HarddiskManager:
if cap != "":
hdd += " (" + cap + ")"
list.append((hdd, hd))
if cap != "":
hdd += " (" + cap + ")"
list.append((hdd, hd))
- print "list", list
return list
def getMountedPartitions(self, onlyhotplug = False):
return list
def getMountedPartitions(self, onlyhotplug = False):