whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: reverse condition check
Date Sun, 02 Oct 2016 02:15:14 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  381fef3   reverse condition check
381fef3 is described below

commit 381fef331e3e666ffd8399a506cd925ba4902d34
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sat Oct 1 22:14:51 2016 -0400

    reverse condition check
---
 www/secmail/models/message.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secmail/models/message.rb b/www/secmail/models/message.rb
index 2d0bff2..58a6f3d 100644
--- a/www/secmail/models/message.rb
+++ b/www/secmail/models/message.rb
@@ -99,7 +99,7 @@ class Message
 
   def attachments
     @headers[:attachments].
-      reject {|attachment| not SIG_MIMES.include? attachment[:mime]}.
+      reject {|attachment| SIG_MIMES.include? attachment[:mime]}.
       map {|attachment| attachment[:name]}.
       select {|name| name != 'signature.asc'}
   end

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message