From 16c3e45d786b939f78cf0169be160fd65c679150 Mon Sep 17 00:00:00 2001 From: Daniel Holth Date: Thu, 16 Jun 2016 22:49:38 -0400 Subject: no need for a __main__ guard in __main__.py --- src/engine/SCons/__main__.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/engine/SCons/__main__.py b/src/engine/SCons/__main__.py index 5a3aadb..0dfbb9d 100644 --- a/src/engine/SCons/__main__.py +++ b/src/engine/SCons/__main__.py @@ -1,5 +1,4 @@ -if __name__ == "__main__": - import SCons.Script - # this does all the work, and calls sys.exit - # with the proper exit status when done. - SCons.Script.main() +import SCons.Script +# this does all the work, and calls sys.exit +# with the proper exit status when done. +SCons.Script.main() -- cgit v0.12