1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-11-11 12:24:17 +03:00

Son minimal cosmetic refactorizations

This commit is contained in:
Adolfo Gómez García
2024-06-08 06:08:33 +02:00
parent 7b7e9193c0
commit 26f48d22f8
18 changed files with 83 additions and 69 deletions

View File

@@ -497,7 +497,7 @@ class RegexLdap(auths.Authenticator):
try:
if (
len(
ensure.is_list(
ensure.as_list(
con.search_ext_s( # pyright: ignore reportUnknownMemberType
base=self.ldap_base.as_str(),
scope=ldaputil.SCOPE_SUBTREE, # pyright: ignore reportUnknownMemberType
@@ -520,7 +520,7 @@ class RegexLdap(auths.Authenticator):
try:
if (
len(
ensure.is_list(
ensure.as_list(
con.search_ext_s( # pyright: ignore reportUnknownMemberType
base=self.ldap_base.as_str(),
scope=ldaputil.SCOPE_SUBTREE, # pyright: ignore reportUnknownMemberType
@@ -546,7 +546,7 @@ class RegexLdap(auths.Authenticator):
try:
if (
len(
ensure.is_list(
ensure.as_list(
con.search_ext_s( # pyright: ignore reportUnknownMemberType
base=self.ldap_base.as_str(),
scope=ldaputil.SCOPE_SUBTREE, # pyright: ignore reportUnknownMemberType