← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~twom/lpbuildbot/fix-typo-in-user-extraction into lp:lpbuildbot

 

Tom Wardill has proposed merging lp:~twom/lpbuildbot/fix-typo-in-user-extraction into lp:lpbuildbot.

Commit message:
Fix typo in user extraction

Requested reviews:
  Thiago F. Pappacena (pappacena)

For more details, see:
https://code.launchpad.net/~twom/lpbuildbot/fix-typo-in-user-extraction/+merge/397266

lists are not strings.
-- 
Your team Launchpad code reviewers is subscribed to branch lp:lpbuildbot.
=== modified file 'lpbuildbot/mattermost.py'
--- lpbuildbot/mattermost.py	2021-02-01 11:17:24 +0000
+++ lpbuildbot/mattermost.py	2021-02-01 14:39:49 +0000
@@ -28,7 +28,7 @@
     def _convertUsers(self, user_list):
         names = []
         for user in user_list:
-            split = user_list.split(' ')[:-1]
+            split = user.split(' ')[:-1]
             names.append(' '.join(split))
         return ', '.join(names)
 


References