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 b393619

Browse filesBrowse files
wwlianengelke
authored andcommitted
Decode base64.b64decode output as string for Python 3 compatibility. (GoogleCloudPlatform#1910)
1 parent 3386e02 commit b393619
Copy full SHA for b393619

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-0
lines changed

‎composer/tools/copy_environment.py

Copy file name to clipboardExpand all lines: composer/tools/copy_environment.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ def create_service_account_key(iam_client, project, service_account_name):
297297
)
298298
service_account_key_decoded = ast.literal_eval(
299299
base64.b64decode(service_account_key.get("privateKeyData", ""))
300+
.decode("utf-8")
300301
)
301302
time.sleep(5)
302303
return service_account_key_decoded

0 commit comments

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