diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-11 04:52:04 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-11 04:52:04 (GMT) |
commit | bf3e197e213e45b5c5966b70f186f2fc6b0ecfa2 (patch) | |
tree | 555593fe3100995fddc9cd97820c168ec6a9b0dd /src | |
parent | 01b45568cb32ef365d71d47ace917b201ca98c92 (diff) | |
parent | db4fc8015b8fbfc3e2423ff90007ffe77923b698 (diff) | |
download | SCons-bf3e197e213e45b5c5966b70f186f2fc6b0ecfa2.zip SCons-bf3e197e213e45b5c5966b70f186f2fc6b0ecfa2.tar.gz SCons-bf3e197e213e45b5c5966b70f186f2fc6b0ecfa2.tar.bz2 |
update repo
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Environment.xml | 2 | ||||
-rw-r--r-- | src/engine/SCons/Platform/posix.py | 2 | ||||
-rw-r--r-- | src/engine/SCons/Script/Main.xml | 4 | ||||
-rw-r--r-- | src/engine/SCons/Tool/FortranCommon.py | 6 | ||||
-rw-r--r-- | src/engine/SCons/cpp.py | 6 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/engine/SCons/Environment.xml b/src/engine/SCons/Environment.xml index 65d71ff..92bc21a 100644 --- a/src/engine/SCons/Environment.xml +++ b/src/engine/SCons/Environment.xml @@ -327,7 +327,7 @@ Examples: # which the method will be called; the Python # convention is to call it 'self'. def my_method(self, arg): - print "my_method() got", arg + print("my_method() got", arg) # Use the global AddMethod() function to add a method # to the Environment class. This diff --git a/src/engine/SCons/Platform/posix.py b/src/engine/SCons/Platform/posix.py index 190a2a6..8db08db 100644 --- a/src/engine/SCons/Platform/posix.py +++ b/src/engine/SCons/Platform/posix.py @@ -56,7 +56,7 @@ def escape(arg): for c in special: arg = arg.replace(c, slash+c) - # print "ESCAPE RESULT: %s"%arg + # print("ESCAPE RESULT: %s" % arg) return '"' + arg + '"' diff --git a/src/engine/SCons/Script/Main.xml b/src/engine/SCons/Script/Main.xml index 07dce9a..98db5bf 100644 --- a/src/engine/SCons/Script/Main.xml +++ b/src/engine/SCons/Script/Main.xml @@ -256,7 +256,7 @@ import atexit def print_build_failures(): from SCons.Script import GetBuildFailures for bf in GetBuildFailures(): - print "%s failed: %s" % (bf.node, bf.errstr) + print("%s failed: %s" % (bf.node, bf.errstr)) atexit.register(print_build_failures) </example_commands> @@ -577,7 +577,7 @@ every 10 Nodes: <example_commands> def my_progress_function(node, *args, **kw): - print 'Evaluating node %s!' % node + print('Evaluating node %s!' % node) Progress(my_progress_function, interval=10) </example_commands> diff --git a/src/engine/SCons/Tool/FortranCommon.py b/src/engine/SCons/Tool/FortranCommon.py index e450730..ec409c0 100644 --- a/src/engine/SCons/Tool/FortranCommon.py +++ b/src/engine/SCons/Tool/FortranCommon.py @@ -207,7 +207,7 @@ def add_f90_to_env(env): except KeyError: F90Suffixes = ['.f90'] - #print "Adding %s to f90 suffixes" % F90Suffixes + #print("Adding %s to f90 suffixes" % F90Suffixes) try: F90PPSuffixes = env['F90PPFILESUFFIXES'] except KeyError: @@ -223,7 +223,7 @@ def add_f95_to_env(env): except KeyError: F95Suffixes = ['.f95'] - #print "Adding %s to f95 suffixes" % F95Suffixes + #print("Adding %s to f95 suffixes" % F95Suffixes) try: F95PPSuffixes = env['F95PPFILESUFFIXES'] except KeyError: @@ -239,7 +239,7 @@ def add_f03_to_env(env): except KeyError: F03Suffixes = ['.f03'] - #print "Adding %s to f95 suffixes" % F95Suffixes + #print("Adding %s to f95 suffixes" % F95Suffixes) try: F03PPSuffixes = env['F03PPFILESUFFIXES'] except KeyError: diff --git a/src/engine/SCons/cpp.py b/src/engine/SCons/cpp.py index 18f154a..8212cc1 100644 --- a/src/engine/SCons/cpp.py +++ b/src/engine/SCons/cpp.py @@ -312,7 +312,7 @@ class PreProcessor(object): t = self.tuples.pop(0) # Uncomment to see the list of tuples being processed (e.g., # to validate the CPP lines are being translated correctly). - #print t + #print(t) self.dispatch_table[t[0]](t) return self.finalize_result(fname) @@ -510,7 +510,7 @@ class PreProcessor(object): t = self.resolve_include(t) include_file = self.find_include_file(t) if include_file: - #print "include_file =", include_file + #print("include_file =", include_file) self.result.append(include_file) contents = self.read_file(include_file) new_tuples = [('scons_current_file', include_file)] + \ @@ -547,7 +547,7 @@ class PreProcessor(object): """ s = t[1] while not s[0] in '<"': - #print "s =", s + #print("s =", s) try: s = self.cpp_namespace[s] except KeyError: |