From f80332ce607d75c7eec84ed3145f8cfa6ab9d667 Mon Sep 17 00:00:00 2001 From: bernat Date: Fri, 16 Sep 2005 09:48:42 +0200 Subject: [PATCH] Modif de Bilou qui commite pas darcs-hash:20050916074842-d1718-fac70baa51cd4acea4b4b33019964ab5f078ab3b.gz --- gestion/tools/list_quotas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/tools/list_quotas.py b/gestion/tools/list_quotas.py index 1dc353dd..9aac3bf8 100755 --- a/gestion/tools/list_quotas.py +++ b/gestion/tools/list_quotas.py @@ -16,7 +16,7 @@ for c in comptes : if not c.compte() : continue quota = getoutput('quota %s | grep "/dev/" | awk \'{ print $1" "$3" "$4 }\'' % c.compte() ) - if quota != '/dev/sdb1 300000 500000\n/dev/sdb2 50000 75000' : + if quota != '/dev/sda1 400000 600000\n/dev/sda2 102400 153600' and quota != '/dev/sda2 102400 153600\n/dev/sda1 400000 600000' : txts.append( '%s (%s)\n%s' % (c.Nom(), c.compte(), quota) ) print '\n- - - - - - = = = = = = # # # # # # # # = = = = = = - - - - - -\n'.join(txts).encode('iso-8859-1')