Skip to content

DM-37252: Move util from RubinTV to summit_utils#28

Merged
mfisherlevine merged 2 commits intomainfrom
tickets/DM-37252
Dec 7, 2022
Merged

DM-37252: Move util from RubinTV to summit_utils#28
mfisherlevine merged 2 commits intomainfrom
tickets/DM-37252

Conversation

@mfisherlevine
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@isullivan isullivan left a comment

Choose a reason for hiding this comment

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

Main suggestion is to update __all__

The exposure.
"""
if not logger:
logger = logging.getLogger(__name__)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe I just don't know this code well enough, but where is __name__ coming from?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm pretty sure that's always defined. Like, just open a python terminal and type print(__name__) and it should tell you that you're in __main__.

@mfisherlevine mfisherlevine merged commit 8ec3678 into main Dec 7, 2022
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