diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-03-26 09:28:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 09:28:11 +0100 |
commit | 24fa0d871d51a7927027b7a1cc013d8681a53929 (patch) | |
tree | e2fbb7d2f84aad8c919f0997d7e063660be6e3ea /platform_methods.py | |
parent | fafff6b37922b27d1f573f36220a6b9d91a8ea33 (diff) | |
parent | 3d2dd79ecd2c8456ba9401f6b12333d01f61e13e (diff) |
Merge pull request #37294 from akien-mga/scons-drop-python2
SCons: Drop support for Python 2
Diffstat (limited to 'platform_methods.py')
-rw-r--r-- | platform_methods.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/platform_methods.py b/platform_methods.py index 4300216427..eed76bc8a8 100644 --- a/platform_methods.py +++ b/platform_methods.py @@ -7,10 +7,7 @@ import subprocess # NOTE: The multiprocessing module is not compatible with SCons due to conflict on cPickle -if sys.version_info[0] < 3: - JSON_SERIALIZABLE_TYPES = (bool, int, long, float, basestring) -else: - JSON_SERIALIZABLE_TYPES = (bool, int, float, str) +JSON_SERIALIZABLE_TYPES = (bool, int, float, str) def run_in_subprocess(builder_function): |