Mesa (master): intel/genxml: drop python 2 support for gen_sort_tags.py
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jun 13 01:29:37 UTC 2020
Module: Mesa
Branch: master
Commit: ff0f1c6a272e60d8c2e51b5c2c08303c3c53f1a8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff0f1c6a272e60d8c2e51b5c2c08303c3c53f1a8
Author: Eric Engestrom <eric at engestrom.ch>
Date: Fri Jun 5 16:41:44 2020 +0200
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 <eric at engestrom.ch>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5362>
---
src/intel/genxml/gen_sort_tags.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
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
More information about the mesa-commit
mailing list