Fix flake8 errors
The patch addresses H214 and H904 standards. Change-Id: I859477717089461c8bf10c9fe37d9078c7ad3279
This commit is contained in:
@@ -175,12 +175,10 @@ def set_options(conf, deployer_input, non_admin, image_path, overrides=[],
|
||||
conf.set('image', 'image_path', image_path)
|
||||
|
||||
if deployer_input and os.path.isfile(deployer_input):
|
||||
LOG.info("Reading deployer input from file {}".format(
|
||||
deployer_input))
|
||||
LOG.info("Reading deployer input from file %s", deployer_input)
|
||||
read_deployer_input(deployer_input, conf)
|
||||
elif os.path.isfile(C.DEPLOYER_INPUT) and not no_default_deployer:
|
||||
LOG.info("Reading deployer input from file {}".format(
|
||||
C.DEPLOYER_INPUT))
|
||||
LOG.info("Reading deployer input from file %s", C.DEPLOYER_INPUT)
|
||||
read_deployer_input(C.DEPLOYER_INPUT, conf)
|
||||
|
||||
if non_admin:
|
||||
|
Reference in New Issue
Block a user