summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-08-02 15:10:15 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-09-16 06:16:20 +0200
commiteceb99708f1f49b54cb2e8a3e829fe5fd8e5c05a (patch)
treec6e3a02fcb5f3758ec41b281f9008394a07101f2 /buildtools
parenta0c8c8c8331856d9f09d18b389b7dd01c8d33de2 (diff)
downloadsamba-eceb99708f1f49b54cb2e8a3e829fe5fd8e5c05a.tar.gz
PY3: decode output of cmd_output for easier string manip
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_abi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_abi.py b/buildtools/wafsamba/samba_abi.py
index 70bd42cc311..b5c6da46b93 100644
--- a/buildtools/wafsamba/samba_abi.py
+++ b/buildtools/wafsamba/samba_abi.py
@@ -85,7 +85,7 @@ def abi_check_task(self):
libpath = self.inputs[0].abspath(self.env)
libname = os.path.basename(libpath)
- sigs = Utils.cmd_output([abi_gen, libpath])
+ sigs = Utils.cmd_output([abi_gen, libpath]).decode('utf8')
parsed_sigs = parse_sigs(sigs, self.ABI_MATCH)
sig_file = self.ABI_FILE