I know why I am getting an IndexError, but I do not know how to fix it. Help? Please & thank you.
This is the error I am getting:
File "/m/amoreau/testing/kaboom/pssMember.py", line 1702, in srStatusV2
monitorSection = newPartsList[i+1]
IndexError: list index out of range
Any suggestions?
Code:
for i in range(2, len(resultsList), 2): newPartsList=pssMember.Grouping.monitorPat.split(resultsList[i]) for i in range(0, len(newPartsList), 2): monitorSection = newPartsList[i+1]
This is the error I am getting:
File "/m/amoreau/testing/kaboom/pssMember.py", line 1702, in srStatusV2
monitorSection = newPartsList[i+1]
IndexError: list index out of range
Any suggestions?
Comment