Skip to content

Commit

Permalink
- Pep8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Jul 24, 2023
1 parent e01b08f commit f89176f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/people/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def complete_login(self, request, app, token, response, **kwargs):
resp = requests.get(self.profile_url, headers=headers)
profile_data = resp.json()
extra_data.update(profile_data)
except Exception as e:
except Exception:
logger.exception(OAuth2Error("Invalid profile_url, falling back to id_token checks..."))

Check warning on line 257 in geonode/people/adapters.py

View check run for this annotation

Codecov / codecov/patch

geonode/people/adapters.py#L251-L257

Added lines #L251 - L257 were not covered by tests
if not extra_data and "id_token" in response:
try:
Expand Down

0 comments on commit f89176f

Please sign in to comment.