diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-01-24 16:30:25 -0800 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-02-06 07:57:36 +0000 |
commit | cdef370df41b6b07018cd27f7549efa4419a5217 (patch) | |
tree | a24d310b42a5491b85b59f11952c02ff7d694800 /api/database | |
parent | e599b364ec8925c2e55d9fd6c63a2e5f2c3a89bf (diff) |
Fix: network_services: decode stdout instead of encode
Fixes unittest on Python 3
stdout is bytes, so we need to decode bytes to unicode using utf-8
bytes.decode(); str.encode()
Change-Id: I4b19d237139f338a648d04aa44cd4f199bb901c3
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'api/database')
0 files changed, 0 insertions, 0 deletions