Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 02f5d38

Browse filesBrowse files
authored
Decode subprocess output to handle Python 3 in readmegen (GoogleCloudPlatform#1370)
1 parent 1e80ba6 commit 02f5d38
Copy full SHA for 02f5d38

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎scripts/readme-gen/readme_gen.py

Copy file name to clipboardExpand all lines: scripts/readme-gen/readme_gen.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535

3636
def get_help(file):
37-
return subprocess.check_output(['python', file, '--help'])
37+
return subprocess.check_output(['python', file, '--help']).decode()
3838

3939

4040
def main():

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.