changeset 374:f5b7f035bef9

scm: Convert from bytes to str to get process output.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 24 Sep 2015 20:47:14 -0700
parents 49953d5cef0f
children c48e7a87258d
files wikked/scm/mercurial.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/wikked/scm/mercurial.py	Thu Sep 24 20:34:54 2015 -0700
+++ b/wikked/scm/mercurial.py	Thu Sep 24 20:47:14 2015 -0700
@@ -185,7 +185,8 @@
         exe.append(cmd)
         exe += args
         logger.debug("Running Mercurial: " + str(exe))
-        return subprocess.check_output(exe)
+        out = subprocess.check_output(exe)
+        return _s(out)
 
 
 hg_client = None