buildtools/wafsamba: Avoid decode when using python2
authorNoel Power <noel.power@suse.com>
Wed, 6 Feb 2019 15:27:41 +0000 (15:27 +0000)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Feb 2019 12:44:34 +0000 (13:44 +0100)
commitfb1d5988e30fffe9c4965b3112b9f43fdbf5ec33
treec34c364238cefe7042fc021fa6dca34ce0196554
parent9dde00c3e0ae7c095f61e1499c9ab939047f17bd
buildtools/wafsamba: Avoid decode when using python2

To avoid problematic type checking for 'str' types which fail
when result from str.decode is used.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13777

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 244e2a02796b2ee85b9db01cbea7043a7448a110)

Autobuild-User(v4-10-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-10-test): Fri Feb 22 13:44:34 CET 2019 on sn-devel-144
buildtools/wafsamba/samba_abi.py
buildtools/wafsamba/samba_conftests.py
buildtools/wafsamba/samba_cross.py
buildtools/wafsamba/samba_dist.py
buildtools/wafsamba/samba_perl.py
buildtools/wafsamba/samba_utils.py
buildtools/wafsamba/samba_version.py