Skip to content
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

DM-47269: Change fail behavior of getSite() and fix build breakage #126

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

mfisherlevine
Copy link
Contributor

No description provided.

python/lsst/summit/utils/utils.py Outdated Show resolved Hide resolved
@@ -647,7 +644,7 @@ def getSite() -> str:
return "usdf-k8s"

# we have failed
raise ValueError("Location could not be determined")
return "UNKOWN"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that butlerUtils and efdUtils each contain a try..except block that checks for ValueError. Suggest modifying those to remove the try..except or just ticketing the change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Changed one, and ticketed the one that appears to be fine and I'm too scared to touch right now!

@mfisherlevine mfisherlevine merged commit 83e1902 into main Oct 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants