From 470928eb37845f37b993fe549fee46762da79611 Mon Sep 17 00:00:00 2001 From: cardek Date: Tue, 16 Mar 2021 15:55:27 +0100 Subject: [PATCH] Update closurebuilder.py --- closure/bin/build/closurebuilder.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/closure/bin/build/closurebuilder.py b/closure/bin/build/closurebuilder.py index b542bd0d1b..be9b51ddde 100755 --- a/closure/bin/build/closurebuilder.py +++ b/closure/bin/build/closurebuilder.py @@ -203,12 +203,7 @@ def main(): if options.output_file: out = io.open(options.output_file, 'wb') else: - version = sys.version_info[:2] - if version >= (3, 0): - # Write bytes to stdout - out = sys.stdout.buffer - else: - out = sys.stdout + out = sys.stdout sources = set()