~billy-olsen/charms/trusty/keystone/public-endpoint-host

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/core/host.py

  • Committer: Billy Olsen
  • Date: 2015-06-04 23:24:25 UTC
  • Revision ID: billy.olsen@canonical.com-20150604232425-c0tk8wk5ycv5hqc7
c-h sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
            ['service', service_name, 'status'],
91
91
            stderr=subprocess.STDOUT).decode('UTF-8')
92
92
    except subprocess.CalledProcessError as e:
93
 
        return 'unrecognized service' not in e.output
 
93
        return b'unrecognized service' not in e.output
94
94
    else:
95
95
        return True
96
96