~caio1982/mojo/local_repo_keys

« back to all changes in this revision

Viewing changes to mojo/juju/status.py

  • Committer: Tim Kuhlman
  • Date: 2016-01-13 16:01:22 UTC
  • mfrom: (260 mojo)
  • mto: This revision was merged to the branch mainline in revision 268.
  • Revision ID: timothy.kuhlman@canonical.com-20160113160122-7te92i45gc9iplmm
Merged latest changes from mojo trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    def _get_status(self, force_update=False):
27
27
        if self._status_output and not force_update:
28
28
            return self._status_output
29
 
        cmd = ['juju', 'status']
 
29
        cmd = ['juju', 'status', '--format=yaml']
30
30
        if self.environment:
31
31
            cmd.extend(['-e', self.environment])
32
32
        self._status_output = subprocess.check_output(cmd)