Commit 8d87fd2
Fixed exception when printing app IDs with python3.
Passing a byte array (output of str.encode()) to sys.stdout.write() in
python3 throws an exceeption so this changes
generate_xml_from_google_services_json.py to write an unencoded string
as sys.stdout.write() encodes the string for the output terminal
anyway.
In addition, this migrates generate_xml_from_google_services_json.py
to be compatible with python3, expands test cases for the script and adds
python2 and python3 testing to the presubmit.
PiperOrigin-RevId: 2816379051 parent f300770 commit 8d87fd2
File tree
2 files changed
+3
-5
lines changed2 files changed
+3
-5
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
| 428 | + | |
429 | 429 | | |
430 | | - | |
431 | | - | |
432 | | - | |
| 430 | + | |
433 | 431 | | |
434 | 432 | | |
435 | 433 | | |
| |||
0 commit comments