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:
parent
93cb3aca03
commit
e8937757ce
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue