[llvm-commits] [zorg] r125359 - /zorg/trunk/zorg/buildbot/util/InformativeMailNotifier.py

Daniel Dunbar daniel at zuster.org
Thu Feb 10 18:47:12 PST 2011


Author: ddunbar
Date: Thu Feb 10 20:47:12 2011
New Revision: 125359

URL: http://llvm.org/viewvc/llvm-project?rev=125359&view=rev
Log:
buildbot: Adapt InformativeMailNotifier to work with 0.8.3.

Modified:
    zorg/trunk/zorg/buildbot/util/InformativeMailNotifier.py

Modified: zorg/trunk/zorg/buildbot/util/InformativeMailNotifier.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/util/InformativeMailNotifier.py?rev=125359&r1=125358&r2=125359&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/util/InformativeMailNotifier.py (original)
+++ zorg/trunk/zorg/buildbot/util/InformativeMailNotifier.py Thu Feb 10 20:47:12 2011
@@ -23,6 +23,10 @@
         self.num_lines = num_lines
         self.only_failure_logs = only_failure_logs
         
+        # Adapt to work with 0.8.3...
+        if not hasattr(self, 'defaultMessage'):
+            self.defaultMessage = mail.defaultMessage
+
     def informative_formatter(self, mode, name, build, results, status):
         # Get the standard message.
         data = self.defaultMessage(mode, name, build, results, status)['body']





More information about the llvm-commits mailing list