[153424] contrib/buildbot-test/master.cfg

larryv at macports.org larryv at macports.org
Fri Sep 30 03:36:54 CEST 2016


Revision: 153424
          https://trac.macports.org/changeset/153424
Author:   larryv at macports.org
Date:     2016-09-29 18:36:54 -0700 (Thu, 29 Sep 2016)
Log Message:
-----------
buildbot: Simplify property validation regex

Move the hyphen to the end so it isn't interpreted as a range operator,
and drop the backslash-escapes from the other symbols.

Modified Paths:
--------------
    contrib/buildbot-test/master.cfg

Modified: contrib/buildbot-test/master.cfg
===================================================================
--- contrib/buildbot-test/master.cfg	2016-09-30 01:24:05 UTC (rev 153423)
+++ contrib/buildbot-test/master.cfg	2016-09-30 01:36:54 UTC (rev 153424)
@@ -55,7 +55,7 @@
 # Allow spaces and tabs in property values
 import re
 c['validation'] = {
-    'property_value' : re.compile(r'^[ \t\w\.\-\/\~:]*$')
+    'property_value': re.compile(r'^[ \t\w./~:-]*$')
 }
 
 ####### BUILDSLAVES
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20160929/f02ab6c1/attachment-0002.html>


More information about the macports-changes mailing list