From a06ee98b054e4fbfcfdad3b2490d7f3f8f6237d3 Mon Sep 17 00:00:00 2001 From: Michel Blockelet Date: Mon, 11 Jul 2011 11:04:33 +0200 Subject: [PATCH] [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 --- lib/utils/quota.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/quota.py b/lib/utils/quota.py index 739e1b0a..87865b25 100644 --- a/lib/utils/quota.py +++ b/lib/utils/quota.py @@ -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} ] - \ No newline at end of file +