python/samba/gp_parse: PY2/PY3 Decode only when necessary
authorNoel Power <noel.power@suse.com>
Wed, 5 Sep 2018 16:01:17 +0000 (17:01 +0100)
committerNoel Power <npower@samba.org>
Mon, 5 Nov 2018 19:05:24 +0000 (20:05 +0100)
commitfc047c2cf458e08e2689ff27677d8622f4507c82
tree30e33a6efbc1945022c66b4b3147b3199d1c6748
parent6476ef589ee093640e93f6c673b432fcab576888
python/samba/gp_parse: PY2/PY3 Decode only when necessary

In python2 we decode str types in load_xml, in python3 these are
str class(s) which we cannot decode.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/gp_parse/gp_csv.py