]> git.notmuchmail.org Git - notmuch/commitdiff
fix wrongly names variable format->out_format
authorSebastian Spaeth <sebastian@sspaeth.de>
Thu, 25 Mar 2010 15:32:26 +0000 (16:32 +0100)
committerSebastian Spaeth <sebastian@sspaeth.de>
Thu, 25 Mar 2010 15:32:26 +0000 (16:32 +0100)
notmuch

diff --git a/notmuch b/notmuch
index 85736a9aff702a0f02e2526e39a071b2d5a92c53..c01dab34905a0703a6492d1cd3691b462530503f 100755 (executable)
--- a/notmuch
+++ b/notmuch
@@ -339,7 +339,7 @@ if __name__ == '__main__':
          msgs = thrd.get_toplevel_messages()
 
          if not first_toplevel:
          msgs = thrd.get_toplevel_messages()
 
          if not first_toplevel:
-            if format.lower()=="json":
+            if out_format.lower()=="json":
                sys.stdout.write(", ")
 
          first_toplevel = False
                sys.stdout.write(", ")
 
          first_toplevel = False