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:
b5eaeb4
)
fixes
author
Ronny Strutz
<
[email protected]
>
Tue, 30 Aug 2005 02:08:41 +0000
(
02:08
+0000)
committer
Ronny Strutz
<
[email protected]
>
Tue, 30 Aug 2005 02:08:41 +0000
(
02:08
+0000)
lib/python/Components/Harddisk.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index 6283f51ceead9b3da0ff48357ba062c26bf1eed8..c50f0b8c435c1e8dd1698906a2b07e19e7891c26 100644
(file)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-155,13
+155,14
@@
class HarddiskManager:
list = [ ]
for hd in self.hdd:
cap = hd.capacity() / 1000 * 512 / 1000
+ print cap
hdd = hd.model() + " ("
if hd.index & 1:
hdd += "slave"
else:
hdd += "master"
if cap > 0:
- hdd += ", %d
,%
d GB" % (cap/1024, cap%1024)
+ hdd += ", %d
.%03
d GB" % (cap/1024, cap%1024)
hdd += ")"
print hdd