mirror of
https://opendev.org/x/pyghmi
synced 2025-09-03 16:58:09 +00:00
More informative message on password expiry
Make it more clear what is happening when password had expired preventing login... Change-Id: I63a947cca6749ba12ab2d03e279016b389dc1f30
This commit is contained in:
@@ -278,6 +278,10 @@ class SMMClient(object):
|
||||
for data in authdata.findall('authResult'):
|
||||
if int(data.text) != 0:
|
||||
raise Exception("Firmware update already in progress")
|
||||
for data in authdata.findall('forwardUrl'):
|
||||
if 'renew' in data.text:
|
||||
raise Exception("Account password has expired on remote "
|
||||
"device")
|
||||
self.st1 = None
|
||||
self.st2 = None
|
||||
for data in authdata.findall('st1'):
|
||||
|
Reference in New Issue
Block a user