fix wrongly names variable format->out_format

This commit is contained in:
Sebastian Spaeth 2010-03-25 16:32:26 +01:00
parent 62a73f7eb0
commit 8b84f00cce

View file

@ -339,7 +339,7 @@ if __name__ == '__main__':
msgs = thrd.get_toplevel_messages() msgs = thrd.get_toplevel_messages()
if not first_toplevel: if not first_toplevel:
if format.lower()=="json": if out_format.lower()=="json":
sys.stdout.write(", ") sys.stdout.write(", ")
first_toplevel = False first_toplevel = False