pull/25254/head^2
stefankaerst 8 years ago committed by Stefan Kaerst
parent db1a32f8ca
commit fb9d8a2f9c

@ -533,9 +533,9 @@ class User(object):
cmd.append('--expiredate')
try:
if self.clearexpires < 0:
cmd.append('')
cmd.append('')
else:
cmd.append(time.strftime(self.DATE_FORMAT, self.expires))
cmd.append(time.strftime(self.DATE_FORMAT, self.expires))
except ValueError:
raise

Loading…
Cancel
Save