diff options
Diffstat (limited to 'src/saml2/sigver.py')
-rw-r--r-- | src/saml2/sigver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/sigver.py b/src/saml2/sigver.py index 30be593e..095a79c8 100644 --- a/src/saml2/sigver.py +++ b/src/saml2/sigver.py @@ -586,7 +586,7 @@ def parse_xmlsec_output(output): :param output: The output from Popen :return: A boolean; True if the command was a success otherwise False """ - for line in output.split("\n"): + for line in output.splitlines(): if line == "OK": return True elif line == "FAIL": |