1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 19:10:11 +01:00

Merge branch 'popen-nonutf8' into 'master'

common: don't assume build script output is utf-8

See merge request !224
This commit is contained in:
Ciaran Gultnieks 2017-03-13 07:40:31 +00:00
commit 7211381e27

View File

@ -1798,7 +1798,7 @@ def FDroidPopen(commands, cwd=None, output=True, stderr_to_stdout=True):
:returns: A PopenResult. :returns: A PopenResult.
""" """
result = FDroidPopenBytes(commands, cwd, output, stderr_to_stdout) result = FDroidPopenBytes(commands, cwd, output, stderr_to_stdout)
result.output = result.output.decode('utf-8') result.output = result.output.decode('utf-8', 'ignore')
return result return result