Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Fix closurebuilder.py for Python 3 #1092

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions closure/bin/build/closurebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,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()

Expand Down