You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2019/04/20 22:11:43 UTC

[whimsy] branch master updated: Fix for reassigned variable name

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 <as...@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'