- add ePython::call return support (only int)
[enigma2.git] / lib / python / Components / Harddisk.py
index dcf7657058de9bfff572629cd8540e7e2729a94d..a638977061674e19ef18aa7fde4754fbe4c1f7b7 100644 (file)
@@ -25,11 +25,17 @@ class Harddisk:
                return self.index
 
        def bus(self):
-               #TODO: add the host
+               ret = ""
+
+               if self.index & 2:
+                       ret = "External (CF) - "
+               else:
+                       ret = "Internal - "
+               
                if self.index & 1:
-                       return "Slave"
+                       return ret + "Slave"
                else:
-                       return "Master"
+                       return ret + "Master"
 
        def capacity(self):
                procfile = tryOpen(self.prochdx + "capacity")