Skip to content

Commit

Permalink
noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyftang committed Apr 9, 2024
1 parent 8b05c35 commit ac171f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lorax_server/utils/sources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def map_pbase_model_id_to_s3(model_id: str, api_token: str) -> str:
# Try to retrieve data using the new endpoint.
resp = requests.get(url, headers=headers)
resp.raise_for_status()
except:
except: # ruff: noqa E722
# Not found in new path, fall back to legacy endpoint.
resp = requests.get(legacy_url, headers=headers)
resp.raise_for_status()
Expand Down

0 comments on commit ac171f1

Please sign in to comment.