Merge "Submitted is _not_ necessarily merged in Gerrit"

This commit is contained in:
Jenkins 2014-03-19 02:29:03 +00:00 committed by Gerrit Code Review
commit 2d3fee12d2
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ class Gerrit(object):
if not status:
return False
self.log.debug("Change %s status: %s" % (change, status))
if status == 'MERGED' or status == 'SUBMITTED':
if status == 'MERGED':
return True
def canMerge(self, change, allow_needs):