~gnuoy/charms/trusty/keystone/delete-quantum-ep

« back to all changes in this revision

Viewing changes to charmhelpers/cli/__init__.py

  • Committer: Corey Bryant
  • Date: 2016-01-04 21:27:51 UTC
  • Revision ID: corey.bryant@canonical.com-20160104212751-th8290dpour7yu5q
[corey.bryant,r=trivial] Sync charm-helpers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
from six.moves import zip
22
22
 
23
 
from charmhelpers.core import unitdata
 
23
import charmhelpers.core.unitdata
24
24
 
25
25
 
26
26
class OutputFormatter(object):
163
163
        if getattr(arguments.func, '_cli_no_output', False):
164
164
            output = ''
165
165
        self.formatter.format_output(output, arguments.format)
166
 
        if unitdata._KV:
167
 
            unitdata._KV.flush()
 
166
        if charmhelpers.core.unitdata._KV:
 
167
            charmhelpers.core.unitdata._KV.flush()
168
168
 
169
169
 
170
170
cmdline = CommandLine()