misc: pylint fix useless-else-on-loop (#52222)

This commit is contained in:
Lauréline Guérin 2021-03-22 15:11:52 +01:00
parent cec0ad3087
commit 3c2ddb1f22
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 1 additions and 2 deletions

View File

@ -1490,8 +1490,7 @@ class WorkflowGlobalAction:
o.id = '1'
self.items.append(o)
return o
else:
raise KeyError()
raise KeyError()
def append_trigger(self, type):
trigger_types = {