You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/10/02 02:15:14 UTC
[whimsy] branch master updated: reverse condition check
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 <ru...@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" <co...@whimsical.apache.org>'].