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 70769be  Fix up missing config fetch
70769be is described below

commit 70769be687686903fdc46baafb2cab216b19c61b
Author: Sebb <[email protected]>
AuthorDate: Thu Sep 26 20:34:44 2019 +0100

    Fix up missing config fetch
---
 .travis.yml            | 5 ++++-
 lib/whimsy/asf/mail.rb | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 5f9b952..be49a12 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,7 +14,7 @@ gemfile:
 language: ruby
 rvm: # http://rubies.travis-ci.org/
   - 2.4
-  - 2.5
+#  - 2.5 (we don't need this yet, and it doubles the run time)
 
 # add subversion on Linux
 addons:
@@ -43,3 +43,6 @@ before_script:
 notifications:
   email:
   - [email protected]
+
+# N.B. builds are at:
+# https://travis-ci.org/apache/whimsy/builds
\ No newline at end of file
diff --git a/lib/whimsy/asf/mail.rb b/lib/whimsy/asf/mail.rb
index 5467701..ea6aa90 100644
--- a/lib/whimsy/asf/mail.rb
+++ b/lib/whimsy/asf/mail.rb
@@ -213,7 +213,8 @@ module ASF
     private
 
     # flags for each mailing list
-    LIST_FLAGS = '/srv/subscriptions/list-flags'
+    LIST_BASE = ASF::Config[:subscriptions] # allow overrides for testing etc
+    LIST_FLAGS = File.join(LIST_BASE, 'list-flags')
     
     # Parse the flags file
     def self._load_flags

Reply via email to