2
0
mirror of https://opendev.org/x/pyghmi synced 2026-06-16 08:30:52 +00:00

Merge "Fix password epiration set in xcc3"

This commit is contained in:
Zuul
2025-03-06 20:19:49 +00:00
committed by Gerrit Code Review
+1 -1
View File
@@ -270,7 +270,7 @@ class OEMHandler(generic.OEMHandler):
acctattribs['Oem']['Lenovo'][
self.oemacctmap[key.lower()]] = currval
if key.lower() == 'password_expiration':
warntime = str(int(int(currval) * 0.08))
warntime = int(int(currval) * 0.08)
acctattribs['Oem']['Lenovo'][
'PasswordExpirationWarningPeriod'] = warntime
elif key.lower() in self.acctmap: