Skip to content

Commit 43f84cd

Browse files
committed
Used str.splitlines() when parsing list of algorithms from xmlsec. (For example, on Windows)
1 parent cc04828 commit 43f84cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/algsupport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def get_algorithm_support(xmlsec):
4242
pof.wait()
4343

4444
if not p_err:
45-
p = p_out.split('\n')
45+
p = p_out.splitlines()
4646
algs = [x.strip('"') for x in p[1].split(',')]
4747
digest = []
4848
signing = []

0 commit comments

Comments
 (0)