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: More debug
Date Mon, 22 Jul 2019 14:38:47 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 341551c  More debug
341551c is described below

commit 341551c9aab7ef144015aec03dc1ab7302fb29e6
Author: Sebb <sebb@apache.org>
AuthorDate: Mon Jul 22 15:38:44 2019 +0100

    More debug
---
 www/officers/list-traffic.cgi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/www/officers/list-traffic.cgi b/www/officers/list-traffic.cgi
index fcc1e92..8b43f7b 100755
--- a/www/officers/list-traffic.cgi
+++ b/www/officers/list-traffic.cgi
@@ -96,8 +96,6 @@ def display_monthly(months:, nondiscuss:)
   months.sort.reverse.each do |month|
     data = get_mails_month(yearmonth: month, nondiscuss: nondiscuss)
     next if data.empty?
-    data[MAILS] ||= []
-    data[TOOLS] ||= []
     _h1 "board@ statistics for #{month} (total mails: #{data[MAILS].length + data[TOOLS].length})",
id: "#{month}"
     _div.row do
       _div.col_sm_6 do


Mime
View raw message