We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64f61b2 commit 68c9fa3Copy full SHA for 68c9fa3
src/satosa/backends/reflector.py
@@ -1,6 +1,7 @@
1
"""
2
A reflector backend module for the satosa proxy
3
4
+import base64
5
from datetime import datetime
6
7
from satosa.internal import AuthenticationInformation
@@ -74,7 +75,7 @@ def get_metadata_desc(self):
74
75
76
entity_descriptions = []
77
description = MetadataDescription(
- urlsafe_b64encode(ReflectorBackend.ENTITY_ID.encode("utf-8")).decode(
78
+ base64.urlsafe_b64encode(ReflectorBackend.ENTITY_ID.encode("utf-8")).decode(
79
"utf-8"
80
)
81
tox.ini
@@ -47,7 +47,6 @@ ignore =
47
E303
48
E703
49
F601
50
- F821
51
F841
52
W291
53
W292
0 commit comments