whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Ensure the data exists if list has not been displayed
Date Thu, 10 Jan 2019 19:18:09 GMT
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 a107361  Ensure the data exists if list has not been displayed
a107361 is described below

commit a107361e975925638d32beb52ae9d22e69a1321c
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Jan 10 19:18:08 2019 +0000

    Ensure the data exists if list has not been displayed
---
 lib/whimsy/asf/committee.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index 67aa9e9..60ba9db 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -446,6 +446,7 @@ module ASF
     # return a list of non-PMC committees.  Data is obtained from
     # <tt>committee-info.txt</tt>
     def self.nonpmcs
+      ASF::Committee.load_committee_info # ensure data exists
       @nonpmcs
     end
 
@@ -454,6 +455,7 @@ module ASF
     # as instances of ASF::Committee with display_name being the name of
     # the office, and chairs being the individuals who hold that office.
     def self.officers
+      ASF::Committee.load_committee_info # ensure data exists
       @officers
     end
 


Mime
View raw message