Skip to content

Commit 06c9ba0

Browse files
committed
tidy: Remove unnecessary default rewrite
1 parent 9d1eeaf commit 06c9ba0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/anaconda_auth/_conda/auth_handler.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ def _load_token_domain(self, parsed_url: ParseResult) -> tuple[str, CredentialTy
5858
# For specific channel domains, we override the defaults
5959
if channel_domain in TOKEN_DOMAIN_MAP:
6060
token_domain, credential_type, _ = TOKEN_DOMAIN_MAP[channel_domain]
61-
else:
62-
token_domain, credential_type = channel_domain, CredentialType.API_KEY
6361

6462
# Allow users to override default via configuration
6563
config = AnacondaAuthConfig(domain=token_domain)

0 commit comments

Comments
 (0)