Skip working on gerrits if the includes list is empty 71/50971/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Tue, 24 Jan 2017 18:08:51 +0000 (10:08 -0800)
committerJamo Luhrsen <jluhrsen@redhat.com>
Tue, 24 Jan 2017 18:08:51 +0000 (10:08 -0800)
commit954517fda58e484e1d5b036e1b16ee8f8241e4c6
treeae394f90198ff267f801e5db42b95856d6f7e1b7
parent93fea61cc54c27b91700589224f646fee95eea89
Skip working on gerrits if the includes list is empty

this could happen when the firt gerrit found is not "merged" as would
be the case when this tool is triggered with a patch test gate job.

this will actually stop parsing gerrits for the project that has an
unmerged change in the distro.

this is a quick fix to get the tool working again. a better fix needs
to come next where it can handle unmerged gerrits and then continue
to print all the merged patches that still made it in to that relevant
project

Change-Id: I96c683cf07e7ed43c5eab42a48a8a0c8627d04e6
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
tools/distchanges/changes.py