[gen_confs/adherent.py] edquota utilise les uid, ne pouvant resoudre les logins

darcs-hash:20090618153324-bd074-552921035447e108af0de3556850e116ad60e14d.gz
This commit is contained in:
Antoine Durand-Gasselin 2009-06-18 17:33:24 +02:00
parent 8e5b88de7d
commit d1dbeced78

View file

@ -117,7 +117,7 @@ class home:
raise OSError('home existant') raise OSError('home existant')
### Quota ### Quota
status, output = commands.getstatusoutput('/usr/sbin/edquota -p pauget %s' % login ) status, output = commands.getstatusoutput('/usr/sbin/edquota -p 1488 %s' % uid )
if status: if status:
print WARNING print WARNING
if self.debug: if self.debug: