Pretty sure we want to encode
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
142a25b7a3
commit
84141c0895
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def read_output(cmd, abspath, input=None, keepends=False, **kw):
|
|||
print(err)
|
||||
if not keepends:
|
||||
out = out.rstrip('\n\r')
|
||||
return out.decode('utf-8')
|
||||
return out.encode('utf-8')
|
||||
|
||||
|
||||
def read_git_output(args, abspath, input=None, keepends=False, **kw):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue