git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
first tyry to load skin from data/skin.xml and if this file is not found, use /usr...
[enigma2.git]
/
lib
/
python
/
Components
/
Harddisk.py
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index 3c2425103c1fce829b8bab8c129a2b190d4ff40a..71c038369c31140d2f9ad22d48205ca342421d5b 100644
(file)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-21,6
+21,9
@@
class Harddisk:
self.prochdx = num2prochdx(index)
self.devidex = "/dev/ide/host%d/bus%d/target%d/lun0/" % (host, bus, target)
+ def getIndex(self):
+ return self.index
+
def capacity(self):
procfile = tryOpen(self.prochdx + "capacity")