summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Holth <dholth@fastmail.fm>2016-06-17 02:49:38 (GMT)
committerDaniel Holth <dholth@fastmail.fm>2016-06-17 02:49:38 (GMT)
commit16c3e45d786b939f78cf0169be160fd65c679150 (patch)
tree2ac6fa25d2f0458827dd4591e7bc1699b07a3313
parentd31cff4a15d3adf3842826c3af8317a2ba050038 (diff)
downloadSCons-16c3e45d786b939f78cf0169be160fd65c679150.zip
SCons-16c3e45d786b939f78cf0169be160fd65c679150.tar.gz
SCons-16c3e45d786b939f78cf0169be160fd65c679150.tar.bz2
no need for a __main__ guard in __main__.py
-rw-r--r--src/engine/SCons/__main__.py9
1 files 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()