Content-Length: 274700 | pFad | http://github.com/oauthlib/oauthlib/pull/901/commits/b8cf6e6ec20cc76c6f9151aec77037ece1f5e997

E7 Fixed linter issue, renamed unittest folder to avoid name conflict by cristiprg · Pull Request #901 · oauthlib/oauthlib · GitHub
Skip to content

Fixed linter issue, renamed unittest folder to avoid name conflict #901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update oauthlib/oauth2/rfc6749/endpoints/resource.py
Co-authored-by: Christian Clauss <cclauss@me.com>
  • Loading branch information
auvipy and cclauss authored Jul 1, 2025
commit b8cf6e6ec20cc76c6f9151aec77037ece1f5e997
2 changes: 1 addition & 1 deletion oauthlib/oauth2/rfc6749/endpoints/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ def find_token_type(self, request):
"""
estimates = sorted(((t.estimate_type(request), n)
for n, t in self.tokens.items()), reverse=True)
return estimates[0][1] if len(estimates) > 0 else None
return estimates[0][1] if estimates else None








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/oauthlib/oauthlib/pull/901/commits/b8cf6e6ec20cc76c6f9151aec77037ece1f5e997

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy