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 13:55:36 UTC
[whimsy] branch master updated: More Travis placation
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 dfda731 More Travis placation
dfda731 is described below
commit dfda731a2580d000dd5530724f31d4457b915b22
Author: Sebb <se...@apache.org>
AuthorDate: Thu Feb 14 13:55:35 2019 +0000
More Travis placation
---
lib/whimsy/asf/agenda/minutes.rb | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/lib/whimsy/asf/agenda/minutes.rb b/lib/whimsy/asf/agenda/minutes.rb
index 9eef8c2..f7fda77 100644
--- a/lib/whimsy/asf/agenda/minutes.rb
+++ b/lib/whimsy/asf/agenda/minutes.rb
@@ -19,10 +19,13 @@ class ASF::Board::Agenda
attrs['text'] = attrs['text'].strip
attrs['approved'] = attrs['approved'].strip.gsub(/\s+/, ' ')
- FOUNDATION_BOARD = ASF::SVN['foundation_board'] rescue nil # try to placate Travis
- 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
+ begin # try to placate Travis
+ FOUNDATION_BOARD = ASF::SVN['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