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 f4794fc  Docco and error message fix
f4794fc is described below

commit f4794fc41ed35995c7eddb14ba21a1dccde35391
Author: Sebb <[email protected]>
AuthorDate: Fri Jan 11 22:04:19 2019 +0000

    Docco and error message fix
---
 lib/whimsy/asf/mlist.rb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/whimsy/asf/mlist.rb b/lib/whimsy/asf/mlist.rb
index 6035e80..a043f68 100644
--- a/lib/whimsy/asf/mlist.rb
+++ b/lib/whimsy/asf/mlist.rb
@@ -11,7 +11,10 @@ module ASF
 
     # Potentially also the methods could check if access was allowed.
     # This is currently done by the callers
-    
+
+    # Note that the data files don't provide information on whether a list is
+    # public or private.
+
     # Return an array of board subscribers followed by the file update time
     def self.board_subscribers
       return list_filter('sub', 'apache.org', 'board'), (File.mtime(LIST_TIME) 
rescue File.mtime(LIST_SUBS))
@@ -202,7 +205,7 @@ module ASF
         path = LIST_DIGS
         suffix = ''
       else
-        raise ArgumentError.new('type: expecting mod or sub')
+        raise ArgumentError.new('type: expecting dig, mod or sub')
       end
       # split file into paragraphs
       File.read(path).split(/\n\n/).each do |stanza|

Reply via email to