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: don't capture the path prefix
Date Mon, 09 May 2016 15:55:37 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  429e53c   don't capture the path prefix
429e53c is described below

commit 429e53cc8002e113fa36fec805ed2affd26d2150
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Mon May 9 11:55:21 2016 -0400

    don't capture the path prefix
---
 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 9567682..32ba395 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(%r{\n(/\w+)*/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