From 0c4ff4a38cf5efe23ccd81b60bb7dbcfe825cd73 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Fri, 26 May 2017 16:31:45 -0700 Subject: py2/3 add PY3 to use everywhere to check if running under py3 --- src/engine/SCons/Util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py index dcfe823..3ce7fe4 100644 --- a/src/engine/SCons/Util.py +++ b/src/engine/SCons/Util.py @@ -33,6 +33,8 @@ import re import types import codecs +PY3 = sys.version[0] == 3 + try: from UserDict import UserDict except ImportError as e: -- cgit v0.12