From 1e12f425a5dd5ec3b40d7a247071709031a1818e Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Mon, 19 Nov 2018 18:56:31 +0200 Subject: Remove unneeded variable Signed-off-by: Ivan Kanakarakis --- src/saml2/entity.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/saml2/entity.py b/src/saml2/entity.py index 6ad42df0..32cf355f 100644 --- a/src/saml2/entity.py +++ b/src/saml2/entity.py @@ -1136,8 +1136,7 @@ class Entity(HTTPBase): return None try: - origxml = xmlstr - response = response.loads(xmlstr, False, origxml=origxml) + response = response.loads(xmlstr, False, origxml=xmlstr) except SigverError as err: logger.error("Signature Error: %s", err) raise -- cgit v1.2.1