changed output
This commit is contained in:
parent
fb53dbad7d
commit
88513c49af
|
@ -72,6 +72,8 @@ if __name__ == "__main__":
|
||||||
print "device:\t\t" + str(partition["device"]) + "\nuuid:\t\t" + str(partition["uuid"])
|
print "device:\t\t" + str(partition["device"]) + "\nuuid:\t\t" + str(partition["uuid"])
|
||||||
if partition.has_key("mountpoint"):
|
if partition.has_key("mountpoint"):
|
||||||
print "mountpoint:\t" + str(partition["mountpoint"]) + "\nfilesystem:\t" + str(partition["filesystem"]) + "\nblocksize:\t" + str(partition["blocksize"]) + "\ntotal blocks:\t" + str(partition["total blocks"]) + "\nfree blocks:\t" + str(partition["free blocks"]) + "\n"
|
print "mountpoint:\t" + str(partition["mountpoint"]) + "\nfilesystem:\t" + str(partition["filesystem"]) + "\nblocksize:\t" + str(partition["blocksize"]) + "\ntotal blocks:\t" + str(partition["total blocks"]) + "\nfree blocks:\t" + str(partition["free blocks"]) + "\n"
|
||||||
|
else:
|
||||||
|
print "\n"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue