From: Eric Engestrom Date: Fri, 5 Jun 2020 14:41:44 +0000 (+0200) Subject: intel/genxml: drop python 2 support for gen_sort_tags.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff0f1c6a272e60d8c2e51b5c2c08303c3c53f1a8;p=mesa.git intel/genxml: drop python 2 support for gen_sort_tags.py Python 2 is dead and this script is only run by devs, all of which have had python3 available for basically forever. Signed-off-by: Eric Engestrom Reviewed-by: Lionel Landwerlin Part-of: --- diff --git a/src/intel/genxml/gen_sort_tags.py b/src/intel/genxml/gen_sort_tags.py index 10fe8d4b178..3b1b1afe254 100755 --- a/src/intel/genxml/gen_sort_tags.py +++ b/src/intel/genxml/gen_sort_tags.py @@ -1,6 +1,4 @@ -#!/usr/bin/env python -#encoding=utf-8 -# +#!/usr/bin/env python3 # Copyright © 2019 Intel Corporation # # Permission is hereby granted, free of charge, to any person obtaining a @@ -23,7 +21,6 @@ # IN THE SOFTWARE. # -from __future__ import print_function from collections import OrderedDict import os import pathlib