incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1634214 - /incubator/public/trunk/voter/voter.py
Date Sat, 25 Oct 2014 11:21:13 GMT
Author: brane
Date: Sat Oct 25 11:21:12 2014
New Revision: 1634214

URL: http://svn.apache.org/r1634214
Log:
Be less strict when detecting cancelled or resolved vote threads.

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=1634214&r1=1634213&r2=1634214&view=diff
==============================================================================
--- incubator/public/trunk/voter/voter.py (original)
+++ incubator/public/trunk/voter/voter.py Sat Oct 25 11:21:12 2014
@@ -225,7 +225,7 @@ class VoteUpdater(object):
                                                 updated = v.updated,
                                                 closed = v.closed,
                                                 cancelled = v.cancelled),
-                                v.threaded))
+                                v.threaded)
                                for v in sorted(votes)),
                                (self.ParsedMBox(r, m) for p, r, m in mboxes))
         database.record_issues(self.issues.issues)
@@ -408,7 +408,7 @@ class VoteDatabase(object):
                 if vote:
                     vote.merge(v)
                     vote.update(txn.con)
-                else if threaded:
+                elif threaded:
                     v.insert(txn.con)
 
             for m in mboxes:



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


Mime
View raw message