From f0a1955bf219423c3ad27827d96d49688c12545e Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Sun, 15 Mar 2020 13:25:52 -0600 Subject: [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 --- bin/SConsDoc.py | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v0.12