Skip to content

Commit 8a934f4

Browse files
committed
tidy: Remove unnecessary conditional
1 parent 86f958d commit 8a934f4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/anaconda_auth/_conda/auth_handler.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,7 @@ def _load_token_domain(self, parsed_url: ParseResult) -> tuple[str, CredentialTy
9393
channel_domain = parsed_url.netloc.lower()
9494

9595
# TODO(mattkram): This is brittle, rewrite
96-
if (
97-
self.override_auth_domain
98-
and channel_domain
99-
and channel_domain not in token_domain_map
100-
):
96+
if self.override_auth_domain and channel_domain not in token_domain_map:
10197
token_domain_map[channel_domain] = TokenDomainSetting(
10298
token_domain=self.override_auth_domain,
10399
default_use_unified_api_key=(

0 commit comments

Comments
 (0)