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()