← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/lpbuildbot/fix-mattermost into lp:lpbuildbot

 

Colin Watson has proposed merging lp:~cjwatson/lpbuildbot/fix-mattermost into lp:lpbuildbot.

Commit message:
Fix MattermostNotifier for buildbot >= 0.8.7.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/lpbuildbot/fix-mattermost/+merge/404111
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/lpbuildbot/fix-mattermost into lp:lpbuildbot.
=== modified file 'lpbuildbot/mattermost.py'
--- lpbuildbot/mattermost.py	2021-02-01 14:39:03 +0000
+++ lpbuildbot/mattermost.py	2021-06-14 09:01:48 +0000
@@ -55,7 +55,7 @@
                 {
                     "short": True,
                     "title": "Revision",
-                    "value": build.getSourceStamp().revision
+                    "value": build.getSourceStamps()[0].revision
                 },
                 {
                     "short": True,
@@ -89,7 +89,7 @@
                 {
                     "short": True,
                     "title": "Revision",
-                    "value": build.getSourceStamp().revision
+                    "value": build.getSourceStamps()[0].revision
                 },
                 {
                     "short": True,


Follow ups