Quotas sur tous les filesystems

This commit is contained in:
Pierre-Elliott Bécue 2015-02-01 13:18:55 +01:00
parent 7b83d62044
commit 1171bc8ca6

View file

@ -17,7 +17,7 @@ def getUserQuota( userLogin ):
pipe.close()
string_result = string_result.split("\n")
quotas = []
for a_line in string_result[2:3]:
for a_line in string_result[2:-1]:
usage, quota, limite, percentage, fs = a_line.split("\t")
line_dict = {
"label": "Quota personnel",
@ -25,7 +25,7 @@ def getUserQuota( userLogin ):
"quota":getFloat(quota),
"limite":getFloat(limite),
"%":getFloat(percentage),
"filesystem":"rda", # pourquoi pas ?
"filesystem":fs, # pourquoi pas ?
}
quotas.append(line_dict)
return quotas