Lance Bragstad d2e3b35c02 Conditionally decode hosts
TripleO was using python2 up to stable/train. This means we can
.decode() strings, which we did with hosts for hostnames. With python3,
we no longer need to do this and tripleo master is using python3.
Instead, we need to detect this case and handle it appropriately.

Change-Id: Icc211f5b685ec9df06cd25d6af3b28a5db4df590
2020-04-21 18:59:36 +00:00
..
2020-04-21 18:59:36 +00:00