smtp.connect()
def check_and_send_mails(cur, old):
+
+ if cur.tree is "waf":
+ # no point sending emails, as the email addresses are invalid
+ return
+
+ if cur.tree is "samba_3_waf":
+ # no emails for this until it stabilises a bit
+ return
+
t = buildfarm.trees[cur.tree]
diff = BuildDiff(t, old, cur)