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: fix typo
Date Mon, 02 Oct 2017 17:49:35 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys 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 b7b4016  fix typo
b7b4016 is described below

commit b7b401600b686aff7ff68f3158ce5732c9820585
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Mon Oct 2 13:49:24 2017 -0400

    fix typo
---
 www/board/agenda/views/actions/posted-reports.json.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/views/actions/posted-reports.json.rb b/www/board/agenda/views/actions/posted-reports.json.rb
index 4b28024..1109492 100755
--- a/www/board/agenda/views/actions/posted-reports.json.rb
+++ b/www/board/agenda/views/actions/posted-reports.json.rb
@@ -17,7 +17,7 @@ last_meeting = Dir["#{FOUNDATION_BOARD}/board_agenda_*.txt"].sort[-2]
 if last_meeting
   cutoff = (Date.parse(last_meeting[/\d[_\d]+/].gsub('_', '-'))+1).to_time
 else
-  cuttoff = (Date.today << 1).to_time
+  cutoff = (Date.today << 1).to_time
 end
 
 # get a list of current board messages
@@ -27,7 +27,7 @@ archive = Dir["/srv/mail/board/#{previous}/*", "/srv/mail/board/#{current}/*"]
 reports = []
 archive.each do |email|
   email.untaint
-  next if File.mtime(email) < cuttoff
+  next if File.mtime(email) < cutoff
   next if email.end_with? '/index'
   message = IO.read(email, mode: 'rb')
   subject = message[/^Subject: .*/]

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

Mime
View raw message