summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-06-05 23:22:02 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-06-05 23:22:02 +0100
commitc05a0cef18cce2a1e8c156f6476f4e4cb0cec1e0 (patch)
tree558ae4ddd9cf88192560268bb3d907000c1766c5
parentExclude lots more things when grepping (diff)
downloadutil-c05a0cef18cce2a1e8c156f6476f4e4cb0cec1e0.tar.bz2
util-c05a0cef18cce2a1e8c156f6476f4e4cb0cec1e0.tar.xz
util-c05a0cef18cce2a1e8c156f6476f4e4cb0cec1e0.zip
Another python 3 bytes/string fix
-rw-r--r--ycm_extra_conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ycm_extra_conf.py b/ycm_extra_conf.py
index e4bde94..4f48279 100644
--- a/ycm_extra_conf.py
+++ b/ycm_extra_conf.py
@@ -24,7 +24,7 @@ def ExpandBackTicks(line):
bts = re.search("^([^`]*)`([^`]*)`(.*)$", line)
if bts and (len(bts.groups()) >= 3):
p = subprocess.Popen(bts.group(2), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
- line = bts.group(1) + p.stdout.read() + bts.group(3);
+ line = bts.group(1) + p.stdout.read().decode("utf-8") + bts.group(3);
return ExpandBackTicks(line)
return line