whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Can't have _json in same script as _html
Date Sat, 26 Sep 2020 22:40:05 GMT
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 5aae43a  Can't have _json in same script as _html
5aae43a is described below

commit 5aae43a40e866099885a8a6072135a98a96ed379
Author: Sebb <sebb@apache.org>
AuthorDate: Sat Sep 26 23:39:56 2020 +0100

    Can't have _json in same script as _html
    
    _json block does not execute
---
 www/members/nominations.cgi | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index 2ed4788..c6945f6 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -142,12 +142,3 @@ _html do
     end
   end
 end
-
-# produce JSON output of reports
-_json do
-  _ reports do |mail|
-    _subject mail.subject
-    _link MBOX + URI.escape('<' + mail.message_id + '>')
-    _missing missing.any? {|title| mail.subject.downcase =~ /\b#{title}\b/}
-  end
-end


Mime
View raw message