[quota.py] Correction
Ignore-this: 2efa58dbce966cc5f20c680561646d6a Maintenant la page "quota" de l'intranet fonctionne ! Mais pas pour autant les quotas. darcs-hash:20110711090433-ddb99-a109d5a463cf080a953839795e0a8b443eec6889.gz
This commit is contained in:
parent
78b2312ce1
commit
a06ee98b05
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ def getUserQuota( userLogin ):
|
|||
string_result = string_result.split("\n")
|
||||
quotas = []
|
||||
for a_line in string_result[2:3]:
|
||||
usage, quota, limite, percentage = a_line.split("\t")
|
||||
usage, quota, limite, percentage, fs = a_line.split("\t")
|
||||
line_dict = {
|
||||
"label": "Quota personnel",
|
||||
"usage":getFloat(usage),
|
||||
|
@ -47,4 +47,4 @@ def fake_getUserQuota( userLogin ):
|
|||
'filesystem': '/var/mail',
|
||||
'usage': 0.06}
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue