You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/02/14 17:16:21 UTC
[whimsy] branch master updated: Placate Travis (3rd try)
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 afa4044 Placate Travis (3rd try)
afa4044 is described below
commit afa4044e0d2dc3c8e1b783a4b7c653ff56cd7111
Author: Sebb <se...@apache.org>
AuthorDate: Thu Feb 14 17:16:14 2019 +0000
Placate Travis (3rd try)
---
lib/whimsy/asf/agenda/minutes.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/whimsy/asf/agenda/minutes.rb b/lib/whimsy/asf/agenda/minutes.rb
index f7fda77..c389036 100644
--- a/lib/whimsy/asf/agenda/minutes.rb
+++ b/lib/whimsy/asf/agenda/minutes.rb
@@ -19,13 +19,13 @@ class ASF::Board::Agenda
attrs['text'] = attrs['text'].strip
attrs['approved'] = attrs['approved'].strip.gsub(/\s+/, ' ')
- begin # try to placate Travis
- FOUNDATION_BOARD = ASF::SVN['foundation_board']
+ # Placate Travis
+ FOUNDATION_BOARD = ASF::SVN.find('foundation_board')
+ if FOUNDATION_BOARD
file = attrs['text'][/board_minutes[_\d]+\.txt/].untaint
if file and File.exist?(File.join(FOUNDATION_BOARD, file))
attrs['mtime'] = File.mtime(File.join(FOUNDATION_BOARD, file)).to_i
end
- rescue
end
end
end