summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2020-06-03 11:15:32 +0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2020-06-08 12:45:31 +0300
commit201da47cb57b8fadd9bc45be16b82617b32a2c01 (patch)
treec6d4657aa200ef1c0983cec357a586375047eda6 /lib
parentb6ba988cc22ccb02cf174b520d3d8d7bd4158d76 (diff)
python: Stop using cElementTree
It got removed in Python 3.9 and ever since Python 3.3 it's: from xml.etree.ElementTree import * Link: https://docs.python.org/3.9/whatsnew/3.9.html#removed Issue: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/86#note_520308 Cc: Petri Latvala <petri.latvala@intel.com> Cc: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/i915/perf-configs/codegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/i915/perf-configs/codegen.py b/lib/i915/perf-configs/codegen.py
index 88981d730..5f028c226 100644
--- a/lib/i915/perf-configs/codegen.py
+++ b/lib/i915/perf-configs/codegen.py
@@ -1,4 +1,4 @@
-import xml.etree.cElementTree as et
+import xml.etree.ElementTree as et
class Codegen: