don't send emails for waf-svn tree
authorAndrew Tridgell <tridge@samba.org>
Thu, 13 Jan 2011 21:41:48 +0000 (08:41 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 13 Jan 2011 21:41:48 +0000 (08:41 +1100)
the email addresses are invalid

import-and-analyse.py

index 375c4ba..5775b1f 100755 (executable)
@@ -37,6 +37,12 @@ smtp = smtplib.SMTP()
 smtp.connect()
 
 def check_and_send_mails(cur, old):
+
+    if cur.tree is "waf-svn":
+        # no point sending emails, as the email addresses are invalid
+        # from git svn
+        return
+
     t = buildfarm.trees[cur.tree]
     diff = BuildDiff(t, old, cur)