summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Kyllo <jkyllo-github@echospiral.com>2016-08-01 14:34:02 +0100
committerJeff Kyllo <jkyllo-github@echospiral.com>2016-08-01 14:34:02 +0100
commit43f84cd6331a510d1a3e1eeb64f116f37f7215c1 (patch)
tree8c0ec8fd23a51b58a7218ad5eb8536056a1729ac /src
parentcc048286a1dec5ecf639991a3964018c5b6d0b1f (diff)
downloadpysaml2-43f84cd6331a510d1a3e1eeb64f116f37f7215c1.tar.gz
Used str.splitlines() when parsing list of algorithms from xmlsec. (For example, on Windows)
Diffstat (limited to 'src')
-rw-r--r--src/saml2/algsupport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/algsupport.py b/src/saml2/algsupport.py
index a2d32135..f9bc06b8 100644
--- a/src/saml2/algsupport.py
+++ b/src/saml2/algsupport.py
@@ -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 = []