aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2020-06-05 00:46:10 -0700
committerVinson Lee <[email protected]>2020-06-05 23:42:54 -0700
commitfaa339e666b4d0c4f88f2588cd84176e2b19ec0f (patch)
treeeb3ebfc24f987f5ea040594d401d0c8db9e11143 /src/intel/vulkan
parenta61532e4dbdf4fbbf5822daeb5907efaf584a375 (diff)
Switch from cElementTree to ElementTree.
The xml.etree.cElementTree module will be removed in Python 3.9. Since Python 3.3 the xml.etree.cElementTree module has been deprecated, the xml.etree.ElementTree module uses a fast implementation whenever available. Builds using Python 2.7 can still work but with the slower implementation. Signed-off-by: Vinson Lee <[email protected]> Acked-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5349>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_entrypoints_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py
index b524897a0f6..fc2ee097961 100644
--- a/src/intel/vulkan/anv_entrypoints_gen.py
+++ b/src/intel/vulkan/anv_entrypoints_gen.py
@@ -25,7 +25,7 @@
import argparse
import math
import os
-import xml.etree.cElementTree as et
+import xml.etree.ElementTree as et
from collections import OrderedDict, namedtuple
from mako.template import Template