summaryrefslogtreecommitdiff
path: root/src/saml2/entity.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/saml2/entity.py')
-rw-r--r--src/saml2/entity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/entity.py b/src/saml2/entity.py
index 8016b481..f167a08a 100644
--- a/src/saml2/entity.py
+++ b/src/saml2/entity.py
@@ -1583,7 +1583,7 @@ class Entity(HTTPBase):
typecode = _art[:2]
if typecode != ARTIFACT_TYPECODE:
- raise ValueError(f"Invalid artifact typecode '{typecode}' should be {ARTIFACT_TYPECODE}")
+ raise ValueError(f"Invalid artifact typecode {repr(typecode)} should be {repr(ARTIFACT_TYPECODE)}")
try:
endpoint_index = str(int(_art[2:4]))