aboutsummaryrefslogtreecommitdiff
path: root/b4/mbox.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-04-15 12:42:21 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-04-15 12:42:21 -0400
commit28b6825da28519b6ca0e8b3bce57700a1120ca9a (patch)
tree7fb99d73ba8103752259eacd93920e343c2e38eb /b4/mbox.py
parent4be04f0af9a22087d0052838e013ef2de1ce2ac3 (diff)
downloadb4-28b6825da28519b6ca0e8b3bce57700a1120ca9a.tar.gz
Switch to using patchwork-compatible hashes
Using strict attestation hashes for auto-thankinator is problematic, because "git am" uses a certain degree of fuzzing, so when we try to find applied patches by running "git diff" on actual commits, line counts may not be bit-for-bit identical. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/mbox.py')
-rw-r--r--b4/mbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/mbox.py b/b4/mbox.py
index 8c4ddec..f64ed6f 100644
--- a/b4/mbox.py
+++ b/b4/mbox.py
@@ -161,7 +161,7 @@ def thanks_record_am(lser):
if pmsg.attestation is None:
logger.debug('Unable to get hashes for all patches, not tracking for thanks')
return
- patches.append((pmsg.subject, pmsg.attestation.p))
+ patches.append((pmsg.subject, pmsg.pwhash))
lmsg = lser.patches[0]
if lmsg is None: