Used str.splitlines() when parsing list of algorithms from xmlsec. (For example, on Windows)
This commit is contained in:
parent
cc048286a1
commit
43f84cd633
@ -42,7 +42,7 @@ def get_algorithm_support(xmlsec):
|
||||
pof.wait()
|
||||
|
||||
if not p_err:
|
||||
p = p_out.split('\n')
|
||||
p = p_out.splitlines()
|
||||
algs = [x.strip('"') for x in p[1].split(',')]
|
||||
digest = []
|
||||
signing = []
|
||||
|
Loading…
Reference in New Issue
Block a user