Skip to content

Commit 50cbbf7

Browse files
committed
Changed to support Python2 Syntax
1 parent 06b443b commit 50cbbf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/onelogin/saml2/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def _get_attributes(self, attr_name):
591591
if attr_key:
592592
if not allow_duplicates and attr_key in attributes:
593593
raise OneLogin_Saml2_ValidationError(
594-
f'Found an Attribute element with duplicated {attr_name}',
594+
'Found an Attribute element with duplicated ' + attr_name,
595595
OneLogin_Saml2_ValidationError.DUPLICATED_ATTRIBUTE_NAME_FOUND
596596
)
597597

0 commit comments

Comments
 (0)