[96024] contrib/buildbot/master.cfg

jmr at macports.org jmr at macports.org
Sun Jul 29 01:24:58 PDT 2012


Revision: 96024
          https://trac.macports.org/changeset/96024
Author:   jmr at macports.org
Date:     2012-07-29 01:24:58 -0700 (Sun, 29 Jul 2012)
Log Message:
-----------
buildbot: update our MailNotifier subclass to match upstream changes

Modified Paths:
--------------
    contrib/buildbot/master.cfg

Modified: contrib/buildbot/master.cfg
===================================================================
--- contrib/buildbot/master.cfg	2012-07-29 08:17:32 UTC (rev 96023)
+++ contrib/buildbot/master.cfg	2012-07-29 08:24:58 UTC (rev 96024)
@@ -364,11 +364,11 @@
                     if interesting:
                         interestedUsers.add(c.who)
 
+            dl = []
             for u in interestedUsers:
                 d = defer.maybeDeferred(self.lookup.getAddress, u)
-                d.addCallback(self.recipients.append)
-                self.dl.append(d)
-            return defer.DeferredList(self.dl)
+                dl.append(d)
+            return defer.gatherResults(dl)
 
     mn = PortsMailNotifier(fromaddr="noreply at macports.org", lookup="", relayhost="localhost",
         builders=ports_buildernames, mode="failing")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120729/20bded76/attachment.html>


More information about the macports-changes mailing list