Fix new flake8 failures

Change-Id: Ieb7f80f25d7fe640caede8d8aef76950ca498723
This commit is contained in:
Daniel Watkins 2019-01-30 11:40:50 -05:00
parent 51e2a99d58
commit c59b5a5258
2 changed files with 4 additions and 4 deletions

View File

@ -6265,7 +6265,7 @@ def conditional_publisher(registry, xml_parent, data):
# Check the length of actions list for versions prior to 0.13. # Check the length of actions list for versions prior to 0.13.
# Flexible Publish will overwrite action if more than one is # Flexible Publish will overwrite action if more than one is
# specified. Limit the action list to one element. # specified. Limit the action list to one element.
if len(actions) is not 1: if len(actions) != 1:
raise JenkinsJobsException("Only one action may be " raise JenkinsJobsException("Only one action may be "
"specified for each condition.") "specified for each condition.")
for action in actions: for action in actions: