Ignoring sourcestamps with no revision in the reporter.
This commit is contained in:
parent
7322dd3853
commit
d7f34fc6dd
|
@ -115,6 +115,9 @@ class GiteaStatusPush(http.HttpStatusPushBase):
|
||||||
|
|
||||||
for sourcestamp in sourcestamps:
|
for sourcestamp in sourcestamps:
|
||||||
sha = sourcestamp['revision']
|
sha = sourcestamp['revision']
|
||||||
|
if sha is None:
|
||||||
|
# No special revision for this, so ignore it
|
||||||
|
continue
|
||||||
if 'repository_name' in props:
|
if 'repository_name' in props:
|
||||||
repository_name = props['repository_name']
|
repository_name = props['repository_name']
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user