diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-11-25 16:57:33 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-11-25 16:57:33 -0500 |
commit | cd94518f3eda9ec69727d9627dbd4196de826034 (patch) | |
tree | 76c066e60304b0077c162adbb51d5af17edd0827 | |
parent | 14848152ffa713811f94b8aa43cabadd0410ecd5 (diff) | |
download | b4-cd94518f3eda9ec69727d9627dbd4196de826034.tar.gz |
Unbreak thanks-tracking
Don't forget to increment where we are when doing "continue".
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | b4/mbox.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -259,6 +259,7 @@ def thanks_record_am(lser, cherrypick=None): for pmsg in lser.patches: if pmsg is None: + at += 1 continue if lmsg is None: @@ -266,16 +267,19 @@ def thanks_record_am(lser, cherrypick=None): if not pmsg.has_diff: # Don't care about the cover letter + at += 1 continue if cherrypick is not None and at not in cherrypick: logger.debug('Skipped non-cherrypicked: %s', at) + at += 1 continue pmsg.load_hashes() if pmsg.attestation is None: logger.debug('Unable to get hashes for all patches, not tracking for thanks') return + prefix = '%s/%s' % (str(pmsg.counter).zfill(padlen), pmsg.expected) patches.append((pmsg.subject, pmsg.pwhash, pmsg.msgid, prefix)) at += 1 |