aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/mbox.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/b4/mbox.py b/b4/mbox.py
index 5a1670c..a4b005f 100644
--- a/b4/mbox.py
+++ b/b4/mbox.py
@@ -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)