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 2022/02/10 13:40:45 UTC
[whimsy] branch master updated: Docco
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 14e6f79 Docco
14e6f79 is described below
commit 14e6f79917a540e15017bf95bffd3eea6ea181ca
Author: Sebb <se...@apache.org>
AuthorDate: Thu Feb 10 13:40:38 2022 +0000
Docco
---
lib/whimsy/asf/member-files.rb | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/whimsy/asf/member-files.rb b/lib/whimsy/asf/member-files.rb
index dce855f..109c123 100644
--- a/lib/whimsy/asf/member-files.rb
+++ b/lib/whimsy/asf/member-files.rb
@@ -66,9 +66,10 @@ module ASF
def self.member_nominees
nominees = {}
ASF::MemberFiles.parse_file('nominated-members.txt') do |hdr, nominee|
- # for members, the header looks like this:
- # <NOMINATED PERSON'S APACHE ID> <PUBLIC NAME>
- id, nominee['Public Name'] = hdr.split(' ',2)
+ # for members, the header SHOULD look like this:
+ # availid '<'PUBLIC NAME'>'
+ id, nominee['Public Name'] = hdr.split(' ', 2)
+ # TODO: handle missing availid better
nominees[id] = nominee
end
nominees