diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-06-05 23:22:02 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-06-05 23:22:02 +0100 |
commit | c05a0cef18cce2a1e8c156f6476f4e4cb0cec1e0 (patch) | |
tree | 558ae4ddd9cf88192560268bb3d907000c1766c5 /ycm_extra_conf.py | |
parent | Exclude lots more things when grepping (diff) | |
download | util-c05a0cef18cce2a1e8c156f6476f4e4cb0cec1e0.tar.bz2 util-c05a0cef18cce2a1e8c156f6476f4e4cb0cec1e0.tar.xz util-c05a0cef18cce2a1e8c156f6476f4e4cb0cec1e0.zip |
Another python 3 bytes/string fix
Diffstat (limited to 'ycm_extra_conf.py')
-rw-r--r-- | ycm_extra_conf.py | 2 |
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 |