instantiate HarddiskManager forever
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Tue, 30 Aug 2005 12:05:42 +0000 (12:05 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Tue, 30 Aug 2005 12:05:42 +0000 (12:05 +0000)
lib/python/Components/Harddisk.py

index c50f0b8..3c24251 100644 (file)
@@ -150,7 +150,7 @@ class HarddiskManager:
                        
                        if hddNum > 8:
                                break
                        
                        if hddNum > 8:
                                break
-               
+
        def HDDList(self):
                list = [ ]
                for hd in self.hdd:
        def HDDList(self):
                list = [ ]
                for hd in self.hdd:
@@ -175,3 +175,8 @@ class HarddiskManager:
 
                        list.append((hdd, hd))
                return list
 
                        list.append((hdd, hd))
                return list
+
+
+harddiskmanager = HarddiskManager()
+
+