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 375c4ba69467f92e46bfe4750da163865a81ce2e..5775b1f4e35efb589b5d2b12572ba36345653171 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)