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