Skip to content

Commit

Permalink
Convert binary to utf-8 string in postbuilds_win.py.
Browse files Browse the repository at this point in the history
* This was a remaining issue on the migration from Python2 to Python3.

PiperOrigin-RevId: 403838604
  • Loading branch information
hiroyuki-komatsu committed Oct 30, 2021
1 parent 8adde9e commit e37031c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/win32/installer/postbuilds_win.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def RunOrDie(argv):
raise RunOrDieError('\n'.join(['',
'==========',
' ERROR: %s' % ' '.join(argv),
' Stdout', out,
' Stderr', err,
' Stdout', out.decode('utf-8'),
' Stderr', err.decode('utf-8'),
'==========']))


Expand Down

0 comments on commit e37031c

Please sign in to comment.