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-4953: Don't print lsstcppimport err message if we're inside Scons. #17

Merged
merged 1 commit into from Aug 2, 2017

Conversation

wmwv
Copy link
Contributor

@wmwv wmwv commented Aug 2, 2017

I added a check that tries to import SCons.Script to check to see if we're in Scons. If we are, then no worries. If we're not, then still print out the warning to STDERR.

@timj Does this look right?

@wmwv wmwv requested a review from timj August 2, 2017 14:10
Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

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

Looks good. One minor comment.

try:
import SCons.Script
# If we're not, then we will get an ImportError trying to import SCons.Script
# If we're not, then that first ImportError is a problem and we should
Copy link
Member

Choose a reason for hiding this comment

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

doubled "If we're not" looks wrong.

@timj timj changed the title Don't print lsstcppimport err message if we're inside Scons. DM-4953: Don't print lsstcppimport err message if we're inside Scons. Aug 2, 2017
@wmwv wmwv merged commit 1308799 into master Aug 2, 2017
@ktlim ktlim deleted the tickets/DM-4953 branch August 25, 2018 06:43
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.

None yet

2 participants