socialnerds/hive
socialnerds
/
hive
Archived
1
0
Fork 0

changed Usage to Free because calculation was showing it wrong :)

This commit is contained in:
David 2012-05-21 22:32:47 +02:00
parent b5e6e2cfd7
commit 2fe1586c76
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if __name__ == "__main__":
"\nUUID:\t\t%s" %(partition["uuid"]) + \ "\nUUID:\t\t%s" %(partition["uuid"]) + \
"\nMountpoint:\t%s" %(partition["mountpoint"]) + \ "\nMountpoint:\t%s" %(partition["mountpoint"]) + \
"\nFilesystem:\t%s" %(partition["filesystem"]) + \ "\nFilesystem:\t%s" %(partition["filesystem"]) + \
"\nUsage:\t\t%s/%s" %(bytes2human(freebytes), bytes2human(totalbytes)) + \ "\nFree:\t\t%s/%s" %(bytes2human(freebytes), bytes2human(totalbytes)) + \
"\nFiles:\t\t%s\n" %(partition["files"]) "\nFiles:\t\t%s\n" %(partition["files"])
else: else:
notmounted = notmounted + " " + partition["device"] notmounted = notmounted + " " + partition["device"]