whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: /srv is now in /x1
Date Mon, 09 May 2016 15:19:25 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  d4f31ec   /srv is now in /x1
d4f31ec is described below

commit d4f31ece23e2ae8e5fb05a46c2d6258c74d411f3
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Mon May 9 11:13:56 2016 -0400

    /srv is now in /x1
---
 www/status/monitors/svn.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/status/monitors/svn.rb b/www/status/monitors/svn.rb
index 110ed6e..9567682 100644
--- a/www/status/monitors/svn.rb
+++ b/www/status/monitors/svn.rb
@@ -27,7 +27,7 @@ def Monitor.svn(previous_status)
   # read cron log
   log = File.expand_path('../../../logs/svn-update', __FILE__)
   data = File.open(log) {|file| file.flock(File::LOCK_EX); file.read}
-  updates = data.split("\n/srv/svn/")[1..-1]
+  updates = data.split(%r{\n(/\w+)*/srv/svn/})[1..-1]
 
   status = {}
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message