# HG changeset patch # User Ludovic Chabant # Date 1443152834 25200 # Node ID f5b7f035bef9425a922127c4671afe13388bc87c # Parent 49953d5cef0f29330ebdd4a1160593c5166d13a9 scm: Convert from bytes to str to get process output. diff -r 49953d5cef0f -r f5b7f035bef9 wikked/scm/mercurial.py --- 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