Skip to content

Commit

Permalink
One more flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenghlee committed Mar 29, 2021
1 parent 696a2bd commit 2402870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda/core/subdir_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,8 +665,8 @@ def fetch_channel_signing_data(signing_data_url, filename, etag=None, mod_stamp=
# this function only have to worry about a ValueError being raised.
try:
str_data = json.loads(resp.content)
except json.decoder.JSONDecodeError as err:
raise ValueError(f"Invalid JSON data returned for {signing_data_url}/{filename}")
except json.decoder.JSONDecodeError as err: # noqa
raise ValueError(f"Invalid JSON returned from {signing_data_url}/{filename}") from err

# TODO (AV): additional loading and error handling improvements?

Expand Down

0 comments on commit 2402870

Please sign in to comment.