~pwlars/lava-test/lp660538

« back to all changes in this revision

Viewing changes to abrek/dashboard.py

  • Committer: Paul Larson
  • Date: 2010-10-07 15:44:02 UTC
  • mfrom: (40.1.1 json-formatting)
  • Revision ID: paul.larson@canonical.com-20101007154402-n2ocpe5fitq781l2
nicer formatting of json output

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
            print "You must specify a result"
128
128
            sys.exit(1)
129
129
        bundle = generate_bundle(self.args[0])
130
 
        print json.dumps(bundle)
 
130
        print json.dumps(bundle, indent=2)
131
131
 
132
132
 
133
133
def generate_bundle(result):