You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2021/02/24 13:07:24 UTC

[whimsy] branch master updated: No longer needed; message was resent

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 67253e0  No longer needed; message was resent
67253e0 is described below

commit 67253e0bd7bdd72a978ac8e17ccfa77860856897
Author: Sebb <se...@apache.org>
AuthorDate: Wed Feb 24 13:07:14 2021 +0000

    No longer needed; message was resent
---
 www/members/nominations.cgi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index 0007e56..c879762 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -32,12 +32,12 @@ def setup_data
     subject = message[/^Subject: .*/]
     next if not subject # HACK: allow script to continue if bogus email
     subjectUC = subject.upcase
-    next unless subjectUC =~ /ME[MN]BER/
+    next unless subjectUC =~ /MEMBER/
     next unless subjectUC =~ /NOMI[NM]ATION/
     next if subject =~ /Member nominations: a plea/ # not a nomination!
     mail = Mail.new(message.encode(message.encoding, crlf_newline: true))
     next if mail.subject.downcase == 'member nomination process'
-    emails << mail if mail.subject =~ /^\[?ME[NM]BER(SHIP)? NOMI[MN]ATION\]?/i
+    emails << mail if mail.subject =~ /^\[?MEMBER(SHIP)? NOMI[MN]ATION\]?/i
   end
 
   # parse nominations for names and ids