aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/mbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/mbox.py b/b4/mbox.py
index 7e01e44..0de7a96 100644
--- a/b4/mbox.py
+++ b/b4/mbox.py
@@ -246,7 +246,7 @@ def make_am(msgs, cmdargs, msgid):
logger.critical(' Base: failed to guess base')
else:
checked, mismatches = lser.check_applies_clean(topdir, at=cmdargs.guessbranch)
- if len(mismatches) == 0 and checked != mismatches:
+ if checked and len(mismatches) == 0 and checked != mismatches:
logger.critical(' Base: applies clean to current tree')
else:
logger.critical(' Base: not specified')