isl: drop comment about "python 2 vs 3" as it doesn't apply anymore

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3674>
This commit is contained in:
Eric Engestrom 2020-08-08 14:28:57 +02:00 committed by Marge Bot
parent 93cb3aca03
commit e8937757ce
1 changed files with 2 additions and 3 deletions

View File

@ -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: