return -3
return 0
+
+ def getDeviceDir(self):
+ return self.devidex
+
+ def getDeviceName(self):
+ return self.getDeviceDir() + "disc"
class Partition:
def __init__(self, mountpoint, description = "", force_mounted = False):
if cap != "":
hdd += " (" + cap + ")"
list.append((hdd, hd))
- print "list", list
return list
def getMountedPartitions(self, onlyhotplug = False):