Closed renevdkooi closed 10 months ago
In the script it is looking for "CscaMasterListData", but the new file seems to use "pkdMasterListContent" Maybe add a || line.startswith( "pkdMasterListContent:: "): to the line
Suggestion:
if line.startswith( "cn: "): cn = line[4:] elif line.startswith( "pkdMasterListContent:: "): cert = line[23:] adding = True elif line.startswith( "CscaMasterListData:: "): cert = line[21:] adding = True elif not line.startswith(" ") and adding == True: adding = False certs.append( cert ) cns.append( cn ) cert = "" elif adding == True: cert += line
Will look at fixing this for next release
This has been fixed in 2.1.0
In the script it is looking for "CscaMasterListData", but the new file seems to use "pkdMasterListContent" Maybe add a || line.startswith( "pkdMasterListContent:: "): to the line
Suggestion:
if line.startswith( "cn: "): cn = line[4:] elif line.startswith( "pkdMasterListContent:: "): cert = line[23:] adding = True elif line.startswith( "CscaMasterListData:: "): cert = line[21:] adding = True elif not line.startswith(" ") and adding == True: adding = False certs.append( cert ) cns.append( cn ) cert = "" elif adding == True: cert += line