You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/05/09 15:55:37 UTC

[whimsy] branch master updated: don't capture the path prefix

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 <ru...@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" <co...@whimsical.apache.org>'].