Re: [PATCH] nmbug: ignore # comments

2016-03-28 Thread David Bremner
David Bremner writes: > Lines starting with # have always (for a long time, anyway) been ignored > by notmuch-restore, but have not been generated by notmuch-dump > previously. In order to make nmbug robust against such output, ignore > comment lines. > --- pushed. d

Re: [PATCH] nmbug: ignore # comments

2016-03-28 Thread Tomi Ollila
On Sun, Mar 27 2016, "W. Trevor King" wrote: > On Sun, Mar 27, 2016 at 05:25:11PM -0300, David Bremner wrote: >> for line in notmuch.stdout: >> +if line.strip().startswith('#'): >> +continue > > Looks good to me. Me too. +1

Re: [PATCH] nmbug: ignore # comments

2016-03-27 Thread W. Trevor King
On Sun, Mar 27, 2016 at 05:25:11PM -0300, David Bremner wrote: > for line in notmuch.stdout: > +if line.strip().startswith('#'): > +continue Looks good to me. Cheers, Trevor -- This email may be signed or encrypted with GnuPG