git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
519da68
)
Merge branch 'master' of git.opendreambox.org:/git/enigma2
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 23 Mar 2009 21:53:19 +0000
(22:53 +0100)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 23 Mar 2009 21:53:19 +0000
(22:53 +0100)
lib/python/Components/Harddisk.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index 37905b7d70ee03f5af70dfc5d9babc3a82010cb5..ad6c1a3b46e5f3f752ebe08e5845b4fa8acfd427 100755
(executable)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-455,11
+455,10
@@
class HarddiskManager:
self.on_partition_list_change("remove", x)
l = len(device)
if l and not device[l-1].isdigit():
- idx = 0
for hdd in self.hdd:
if hdd.device == device:
-
self.hdd[x]
.stop()
- del self.hdd[idx]
+
hdd
.stop()
+ self.hdd.remove(hdd)
break
SystemInfo["Harddisk"] = len(self.hdd) > 0