diff options
author | William Blevins <wblevins001@gmail.com> | 2016-01-24 16:36:12 (GMT) |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-01-24 16:36:12 (GMT) |
commit | 36d36e8dbf9e43c412f7a52a38dc1f9d9e8bb078 (patch) | |
tree | 9d10b6f009624a613c6a78b71736d0416849f329 /src/engine | |
parent | 358c0de48a7d9fecdb30e24505c066506dfcdeff (diff) | |
download | SCons-36d36e8dbf9e43c412f7a52a38dc1f9d9e8bb078.zip SCons-36d36e8dbf9e43c412f7a52a38dc1f9d9e8bb078.tar.gz SCons-36d36e8dbf9e43c412f7a52a38dc1f9d9e8bb078.tar.bz2 |
Resolving a batch of failing tests for python 2.7.
Note: please evaluate python 3.X compliance.
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Script/Main.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py index 7cc7d47..997d701 100644 --- a/src/engine/SCons/Script/Main.py +++ b/src/engine/SCons/Script/Main.py @@ -10,8 +10,6 @@ some other module. If it's specific to the "scons" script invocation, it goes here. """ -from __future__ import print_function - unsupported_python_version = (2, 6, 0) deprecated_python_version = (2, 7, 0) @@ -330,7 +328,7 @@ class CleanTask(SCons.Taskmaster.AlwaysTask): except SCons.Errors.UserError as e: print(e) except (IOError, OSError) as e: - print_("scons: Could not remove '%s':" % pathstr, e.strerror) + print("scons: Could not remove '%s':" % pathstr, e.strerror) def _get_files_to_clean(self): result = [] @@ -794,7 +792,7 @@ def _load_all_site_scons_dirs(topdir, verbose=None): dirs=sysdirs + [topdir] for d in dirs: if verbose: # this is used by unit tests. - print_("Loading site dir ", d) + print("Loading site dir ", d) _load_site_scons_dir(d) def test_load_all_site_scons_dirs(d): |