From e8937757ce6a2b8b4914ad7dd37f574d6579b227 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 8 Aug 2020 14:28:57 +0200 Subject: [PATCH] isl: drop comment about "python 2 vs 3" as it doesn't apply anymore Signed-off-by: Eric Engestrom Reviewed-by: Alyssa Rosenzweig Reviewed-by: Dylan Baker Part-of: --- 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: