Merge "Corrects trove-client output"

This commit is contained in:
Jenkins 2014-05-23 20:27:56 +00:00 committed by Gerrit Code Review
commit d02764e597
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ def _output_override(objs, print_as):
If an output override global flag is set, print with override
raise BaseException if no printing was overridden.
"""
if 'json_output' in globals():
if globals().get('json_output', False):
if print_as == 'list':
new_objs = []
for o in objs: