Skip to content

Commit 5a11b4a

Browse files
committed
Fix pep8 of last commit
1 parent a982e8c commit 5a11b4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/onelogin/saml2/response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,11 @@ def __decrypt_assertion(self, dom):
460460
if 'RetrievalMethod' in child.tag:
461461
if child.attrib['Type'] != 'http://www.w3.org/2001/04/xmlenc#EncryptedKey':
462462
raise Exception('Unsupported Retrieval Method found')
463-
uri = child.attrib['URI']
463+
uri = child.attrib['URI']
464464
if not uri.startswith('#'):
465465
break
466466
uri = uri.split('#')[1]
467-
encrypted_key = OneLogin_Saml2_Utils.query(encrypted_assertion_nodes[0], './xenc:EncryptedKey[@Id="'+uri +'"]')
467+
encrypted_key = OneLogin_Saml2_Utils.query(encrypted_assertion_nodes[0], './xenc:EncryptedKey[@Id="' + uri + '"]')
468468
if encrypted_key:
469469
keyinfo.append(encrypted_key[0])
470470

0 commit comments

Comments
 (0)