Mesa (main): isl: drop comment about "python 2 vs 3" as it doesn't apply anymore
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Aug 14 22:06:58 UTC 2021
Module: Mesa
Branch: main
Commit: e8937757ce6a2b8b4914ad7dd37f574d6579b227
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8937757ce6a2b8b4914ad7dd37f574d6579b227
Author: Eric Engestrom <eric at engestrom.ch>
Date: Sat Aug 8 14:28:57 2020 +0200
isl: drop comment about "python 2 vs 3" as it doesn't apply anymore
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3674>
---
src/intel/isl/gen_format_layout.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/intel/isl/gen_format_layout.py b/src/intel/isl/gen_format_layout.py
index ea81edf91d6..6c6f60a06df 100644
--- a/src/intel/isl/gen_format_layout.py
+++ b/src/intel/isl/gen_format_layout.py
@@ -279,9 +279,8 @@ def main():
args = parser.parse_args()
# This generator opens and writes the file itself, and it does so in bytes
- # mode. This solves both python 2 vs 3 problems and solves the locale
- # problem: Unicode can be rendered even if the shell calling this script
- # doesn't.
+ # mode. This solves the locale problem: Unicode can be rendered even
+ # if the shell calling this script doesn't.
with open(args.out, 'wb') as f:
formats = [Format(l) for l in reader(args.csv)]
try:
More information about the mesa-commit
mailing list