Quotas sur tous les filesystems
This commit is contained in:
parent
7b83d62044
commit
1171bc8ca6
1 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue