misc: pylint fix useless-else-on-loop (#52222)
This commit is contained in:
parent
cec0ad3087
commit
3c2ddb1f22
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue