Sync charm-helpers for openstack-origin-git defaults.

Change-Id: I3c8dac6e82ddced3c137b00b14d0385a6070747f
This commit is contained in:
Corey Bryant
2016-06-23 09:07:41 -04:00
parent 3a2adbf106
commit 2fd2a00fbd
2 changed files with 21 additions and 13 deletions

View File

@@ -1006,4 +1006,4 @@ def network_get_primary_address(binding):
:raise: NotImplementedError if run on Juju < 2.0
'''
cmd = ['network-get', '--primary-address', binding]
return subprocess.check_output(cmd).strip()
return subprocess.check_output(cmd).decode('UTF-8').strip()