Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfarrell committed Nov 19, 2021
1 parent b107e60 commit c45c685
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion django_auth_adfs/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ def __init__(self):
for idp_name, idp_settings in _settings['IDPS'].items():
for setting in REQUIRED_SETTINGS:
if setting not in idp_settings:
raise ImproperlyConfigured("django_auth_adfs setting '{0}' has not been set for IDP key '{1}'".format(setting, idp_name))
raise ImproperlyConfigured(
"django_auth_adfs setting '{}' has not been set for IDP key '{}'".format(setting, idp_name)
)

else:
# Handle deprecated settings
Expand Down

0 comments on commit c45c685

Please sign in to comment.