Skip to content

Commit c9f4bf2

Browse files
committed
Formatting and cleanup
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 134f5d7 commit c9f4bf2

File tree

4 files changed

+528
-560
lines changed

4 files changed

+528
-560
lines changed

src/saml2/config.py

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,21 @@
2828

2929

3030
COMMON_ARGS = [
31-
"entityid", "xmlsec_binary", "debug", "key_file", "cert_file",
32-
"encryption_keypairs", "additional_cert_files",
33-
"metadata_key_usage", "secret", "accepted_time_diff", "name", "ca_certs",
34-
"description", "valid_for", "verify_ssl_cert",
31+
"debug",
32+
"entityid",
33+
"xmlsec_binary",
34+
"key_file",
35+
"cert_file",
36+
"encryption_keypairs",
37+
"additional_cert_files",
38+
"metadata_key_usage",
39+
"secret",
40+
"accepted_time_diff",
41+
"name",
42+
"ca_certs",
43+
"description",
44+
"valid_for",
45+
"verify_ssl_cert",
3546
"organization",
3647
"contact_person",
3748
"name_form",
@@ -54,7 +65,7 @@
5465
"validate_certificate",
5566
"extensions",
5667
"allow_unknown_attributes",
57-
"crypto_backend"
68+
"crypto_backend",
5869
]
5970

6071
SP_ARGS = [

src/saml2/httputil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class BadGateway(Response):
157157
_status = "502 Bad Gateway"
158158

159159

160-
class HttpParameters():
160+
class HttpParameters(object):
161161
"""GET or POST signature parameters for Redirect or POST-SimpleSign bindings
162162
because they are not contained in XML unlike the POST binding
163163
"""

0 commit comments

Comments
 (0)