fix unicode errors
Change-Id: I0d824e7c037bb8d479fda371f637ba0f67e226dd
This commit is contained in:
parent
b6e395fe8e
commit
fdbe4c1a1d
@ -88,10 +88,10 @@ def _freeze(requirements, python):
|
||||
return (version, _parse_freeze(freeze))
|
||||
except Exception as exc:
|
||||
if isinstance(exc, subprocess.CalledProcessError):
|
||||
output.append(exc.output)
|
||||
output.append(exc.output.decode('utf-8'))
|
||||
raise Exception(
|
||||
"Failed to generate freeze: %s %s"
|
||||
% ('\n'.join(output), exc))
|
||||
% ('\n'.join(output).decode('utf-8'), exc))
|
||||
|
||||
|
||||
def _combine_freezes(freezes, blacklist=None):
|
||||
|
Loading…
Reference in New Issue
Block a user