[PATCH] test/thread-order: more robust loop exit in case of broken input

David Bremner david at tethera.net
Wed Apr 1 00:09:22 PDT 2015


Tomi Ollila <tomi.ollila at iki.fi> writes:

> When creating $THREADS data it may end of not having 'None' at all
> or the numbers in line output yields a loop.
>
> To avoid loop the value in current array index is set to 'None'
> so that if the same item is reached again the loop will end.
>
> Also empty string as next array index will end the loop.

lgtm

d


More information about the notmuch mailing list