whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curc...@apache.org
Subject [whimsy] branch master updated: Fix for reassigned variable name
Date Sat, 20 Apr 2019 22:11:43 GMT
This is an automated email from the ASF dual-hosted git repository.

curcuru 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 c322289  Fix for reassigned variable name
c322289 is described below

commit c32228972c8379ae55c2fb1d5c9e17e427c4e81d
Author: Shane Curcuru <asf@shanecurcuru.org>
AuthorDate: Sat Apr 20 18:11:34 2019 -0400

    Fix for reassigned variable name
---
 www/committers/testauth.cgi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/committers/testauth.cgi b/www/committers/testauth.cgi
index 76423ff..f930cb7 100755
--- a/www/committers/testauth.cgi
+++ b/www/committers/testauth.cgi
@@ -23,12 +23,12 @@ _html do
     }
   ) do
     FOUNDATION_BOARD = ASF::SVN['foundation_board']
-    agenda = Dir[File.join(FOUNDATION_BOARD, 'board_agenda_*.txt')].sort.last.untaint
-    agenda = ASF::Board::Agenda.parse(File.read(agenda))
+    agendafile = Dir[File.join(FOUNDATION_BOARD, 'board_agenda_*.txt')].sort.last.untaint
+    agenda = ASF::Board::Agenda.parse(File.read(agendafile))
     roll = agenda.find {|item| item['title'] == 'Roll Call'}
 
     person = ASF::Auth.decode(env)
-    _p %{ Your data for meeting: #{File.basename(agenda)} }
+    _p %{ Your data for meeting: #{File.basename(agendafile)} }
     _table do
       _tr do
         _td 'Your id'


Mime
View raw message