aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-08-31 16:47:28 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-08-31 16:47:28 -0400
commitfb14c834db42b35ac71c53ba78ffaed49b9d05cf (patch)
tree953e25cfba30f90d59c7eb21f475a396b1302cf6
parent63d5313664c96cdfcee345f5c880f9973a3ee1da (diff)
downloadb4-fb14c834db42b35ac71c53ba78ffaed49b9d05cf.tar.gz
Fix regression incorrectly reporting mismatches
Add a missing continue that caused incorrectly reported trailer mismatches. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index e8e31fe..4062ec3 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -1086,6 +1086,7 @@ class LoreMessage:
if ltr.email_eq(self.fromemail):
logger.debug(' trailer email match')
trailers.append(ltr)
+ continue
# Does the name match, at least?
nmatch = False
@@ -1543,7 +1544,7 @@ class LoreMessage:
extinfo = None
mextinfo = re.search(r'(.*\S+)(\s+#[^#]+)$', ovalue)
if mextinfo:
- logger.debug('Trailer contains hashtag extinfo: ', line)
+ logger.debug('Trailer contains hashtag extinfo: %s', line)
# Found extinfo of the hashtag genre
egr = mextinfo.groups()
ovalue = egr[0]