Don't report changes without actions.
Change-Id: Idd9b95488814a6130484a97ab0c60541054c6bd4
This commit is contained in:
parent
9d43ac139e
commit
ad216e3115
|
@ -81,6 +81,9 @@ class Gerrit(object):
|
|||
if not change.number:
|
||||
self.log.debug("Change has no number; not reporting")
|
||||
return
|
||||
if not action:
|
||||
self.log.debug("No action specified; not reporting")
|
||||
return
|
||||
changeid = '%s,%s' % (change.number, change.patchset)
|
||||
return self.gerrit.review(change.project.name, changeid,
|
||||
message, action)
|
||||
|
|
Loading…
Reference in New Issue