From 5232f9c807d579ea3ccb571dd2f5e022cde6ab2b Mon Sep 17 00:00:00 2001 From: Brian McLaughlin Date: Wed, 28 Feb 2024 08:05:29 -0500 Subject: [PATCH] Lint No-Issue --- .../management/commands/dump_auth_config.py | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/galaxy_ng/app/management/commands/dump_auth_config.py b/galaxy_ng/app/management/commands/dump_auth_config.py index 5d1ffefc58..65d388328d 100644 --- a/galaxy_ng/app/management/commands/dump_auth_config.py +++ b/galaxy_ng/app/management/commands/dump_auth_config.py @@ -53,21 +53,24 @@ def post_config_ldap(self): AUTH_LDAP_USER_SEARCH_BASE_DN = settings.get("AUTH_LDAP_USER_SEARCH_BASE_DN", default=None) AUTH_LDAP_USER_SEARCH_SCOPE = settings.get("AUTH_LDAP_USER_SEARCH_SCOPE", default=None) AUTH_LDAP_USER_SEARCH_FILTER = settings.get("AUTH_LDAP_USER_SEARCH_FILTER", default=None) - AUTH_LDAP_GROUP_SEARCH_BASE_DN = settings.get("AUTH_LDAP_GROUP_SEARCH_BASE_DN", default=None) + AUTH_LDAP_GROUP_SEARCH_BASE_DN = settings.get( + "AUTH_LDAP_GROUP_SEARCH_BASE_DN", + default=None + ) AUTH_LDAP_GROUP_SEARCH_SCOPE = settings.get("AUTH_LDAP_GROUP_SEARCH_SCOPE", default=None) AUTH_LDAP_GROUP_SEARCH_FILTER = settings.get("AUTH_LDAP_GROUP_SEARCH_FILTER", default=None) post_config["USER_SEARCH"] = [ - AUTH_LDAP_USER_SEARCH_BASE_DN, - AUTH_LDAP_USER_SEARCH_SCOPE, - AUTH_LDAP_USER_SEARCH_FILTER, - ] + AUTH_LDAP_USER_SEARCH_BASE_DN, + AUTH_LDAP_USER_SEARCH_SCOPE, + AUTH_LDAP_USER_SEARCH_FILTER, + ] post_config["GROUP_SEARCH"] = [ - AUTH_LDAP_GROUP_SEARCH_BASE_DN, - AUTH_LDAP_GROUP_SEARCH_SCOPE, - AUTH_LDAP_GROUP_SEARCH_FILTER, - ] + AUTH_LDAP_GROUP_SEARCH_BASE_DN, + AUTH_LDAP_GROUP_SEARCH_SCOPE, + AUTH_LDAP_GROUP_SEARCH_FILTER, + ] # Configure GROUP_TYPE post_config["GROUP_TYPE"] = None