summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-03-15 19:25:52 (GMT)
committerMats Wichmann <mats@linux.com>2020-03-15 19:25:52 (GMT)
commitf0a1955bf219423c3ad27827d96d49688c12545e (patch)
tree0cf59bb4c785106ecf5a02df82c282b562c7f2d6 /bin
parent3512ca4fd6973a3054ae3c1abde265c9fb889020 (diff)
downloadSCons-f0a1955bf219423c3ad27827d96d49688c12545e.zip
SCons-f0a1955bf219423c3ad27827d96d49688c12545e.tar.gz
SCons-f0a1955bf219423c3ad27827d96d49688c12545e.tar.bz2
[PR #3583] review comment: flag cElementTree use [ci skip]
cElementTree is deprecated in Py3 series, leave a TODO. Don't remove just yet, right now building the generated files may have problems in Py3, so leave ability to use Py2 for that (see issue #3580) Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/SConsDoc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/SConsDoc.py b/bin/SConsDoc.py
index 5eee5d9..a7c611d 100644
--- a/bin/SConsDoc.py
+++ b/bin/SConsDoc.py
@@ -141,6 +141,7 @@ if not has_libxml2:
pass
if not has_etree:
try:
+ # TODO: this is for Python 2.7, cElementTee is deprecated since Py3.3
import xml.etree.cElementTree as etree
except ImportError:
try: