summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-02-19 02:33:51 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2020-02-19 02:33:51 (GMT)
commitce3f96839ad51b98d73db74b4335c903e3ceef44 (patch)
tree4b1980d6eb57b3fbdce37661e5872f5681e98a9e /bin
parent7528b23f63755ecb2bc60e25aeef0188179b7681 (diff)
downloadSCons-ce3f96839ad51b98d73db74b4335c903e3ceef44.zip
SCons-ce3f96839ad51b98d73db74b4335c903e3ceef44.tar.gz
SCons-ce3f96839ad51b98d73db74b4335c903e3ceef44.tar.bz2
post py27
Diffstat (limited to 'bin')
-rw-r--r--bin/calibrate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/calibrate.py b/bin/calibrate.py
index be06a54..d18cfcd 100644
--- a/bin/calibrate.py
+++ b/bin/calibrate.py
@@ -20,8 +20,6 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-from __future__ import division, print_function
-
import optparse
import os
import re
@@ -31,6 +29,7 @@ import sys
variable_re = re.compile(r'^VARIABLE: (.*)$', re.M)
elapsed_re = re.compile(r'^ELAPSED: (.*)$', re.M)
+
def main(argv=None):
if argv is None:
argv = sys.argv
@@ -84,5 +83,6 @@ def main(argv=None):
return 0
+
if __name__ == "__main__":
sys.exit(main())