Ignoring sourcestamps with no revision in the reporter.

This commit is contained in:
Marvin Pohl 2018-09-27 20:50:21 +02:00
parent 7322dd3853
commit d7f34fc6dd
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,9 @@ class GiteaStatusPush(http.HttpStatusPushBase):
for sourcestamp in sourcestamps:
sha = sourcestamp['revision']
if sha is None:
# No special revision for this, so ignore it
continue
if 'repository_name' in props:
repository_name = props['repository_name']
else: