whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Bazley <s...@apache.org>
Subject [whimsy.git] [1/1] Commit 465e582: Don't change the subject!
Date Fri, 01 Apr 2016 18:56:55 GMT
Commit 465e582d74d609e04b566a3442865a2d6a23ea2c:
    Don't change the subject!
    Easier in GMail if the variable server name is in the body


Branch: refs/heads/master
Author: Sebb <sebb@apache.org>
Committer: Sebb <sebb@apache.org>
Pusher: sebb <sebb@apache.org>

------------------------------------------------------------
www/roster/public_json_common.rb                             | ++++ ----
------------------------------------------------------------
8 changes: 4 additions, 4 deletions.
------------------------------------------------------------


diff --git a/www/roster/public_json_common.rb b/www/roster/public_json_common.rb
index d61dbf8..f78c626 100644
--- a/www/roster/public_json_common.rb
+++ b/www/roster/public_json_common.rb
@@ -88,12 +88,12 @@ def write_output(file, results)
           mail = Mail.new do
             from ENV['MAIL_FROM'] || 'dev@whimsical.apache.org'
             to 'sebb@apache.org' # For testing purposes, will be changed to notifications@whimsical.a.o
+            subject "Difference(s) in #{file}"
             if ldaphost
-              subject "Difference(s) in #{file} (#{ldaphost})"
+              body "\n#{ldaphost}\n\n#{out}\n"
             else
-              subject "Difference(s) in #{file}"
-            end 
-            body "\n#{out}\n"
+              body "\n#{out}\n"
+            end
           end
           # deliver mail
           mail.deliver!

Mime
View raw message