incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1540901 - /incubator/public/trunk/voter/voter.py
Date Tue, 12 Nov 2013 00:46:22 GMT
Author: crossley
Date: Tue Nov 12 00:46:22 2013
New Revision: 1540901

URL: http://svn.apache.org/r1540901
Log:
Handle optional S for RESULT.

Modified:
    incubator/public/trunk/voter/voter.py

Modified: incubator/public/trunk/voter/voter.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/voter/voter.py?rev=1540901&r1=1540900&r2=1540901&view=diff
==============================================================================
--- incubator/public/trunk/voter/voter.py (original)
+++ incubator/public/trunk/voter/voter.py Tue Nov 12 00:46:22 2013
@@ -127,11 +127,11 @@ class VoteUpdater(object):
         r'^[^[]*'
         # A [RESULT] or [DISCUSS] or [CANCELLED] tag
         # can come before the [VOTE] tag
-        r'(\[((?P<result1>RESULT)|DISCUSS|(?P<cancel1>CANCELL?(ED)?))\]\s*)?'
+        r'(\[((?P<result1>RESULTS?)|DISCUSS|(?P<cancel1>CANCELL?(ED)?))\]\s*)?'
         # The [VOTE] tag is mandatory
         r'\[VOTE\]\s*'
         # Handle [VOTE][<tag>] as well, just in case
-        r'(\[((?P<result2>RESULT)|DISCUSS|(?P<cancel2>CANCELL?(ED)?))\]\s*)?'
+        r'(\[((?P<result2>RESULTS?)|DISCUSS|(?P<cancel2>CANCELL?(ED)?))\]\s*)?'
         # The rest of the subject line, and strip off trailing whitespace
         r'(?P<subject>.*?)\s*$',
         re.IGNORECASE)



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message