diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-21 15:43:22 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-21 15:43:22 -0400 |
commit | 17a9cb9e6184d9a285bc1ca8349d521d47bc655d (patch) | |
tree | f0faca1d067fe702707e5e613b859286dd1b6d4a | |
parent | 3ceda2207e9e8b2ab1bc868befd870a8bfc483a0 (diff) | |
download | b4-17a9cb9e6184d9a285bc1ca8349d521d47bc655d.tar.gz |
Return early if no messages retrieved
If we haven't been able to retrieve any messages, then exit early.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | b4/mbox.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -597,6 +597,8 @@ def main(cmdargs): cmdargs.nocache = True msgid, msgs = get_msgs(cmdargs) + if not msgs: + return if len(msgs) and cmdargs.checknewer: msgs = get_extra_series(msgs, direction=1) |