Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: tarilabs <matteo.mortari@gmail.com>
  • Loading branch information
tarilabs committed Sep 23, 2024
1 parent bb4c2ec commit 9c3f003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oras/auth/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def authenticate_request(
h = auth_utils.parse_auth_header(authHeaderRaw)

# if no basic auth, try by request an anonymous token
if not hasattr(self, '_basic_auth'):
if not hasattr(self, "_basic_auth"):
logger.debug("No Basic Auth found, requesting anonymous token")
anon_token = self.request_anonymous_token(h)
if anon_token:
Expand Down

0 comments on commit 9c3f003

Please sign in to comment.