Fix some pep8 errors

- F632
- E305
- E117

Change-Id: Id08a49c401a11a6f43ff132e798bdb1088ddb75d
This commit is contained in:
Rabi Mishra 2020-05-13 13:23:41 +05:30
parent 701c146bd7
commit fa6a29379c
4 changed files with 12 additions and 10 deletions

View File

@ -280,7 +280,7 @@ class HeatContainerLauncher(HeatBaseLauncher):
# 137 means the container was killed by 'kill -9' which happens
# then we're done creating the Heat stack, so we consider it
# as successful.
if e.returncode is not 137:
if e.returncode != 137:
raise Exception('heat_all container did not run as expected.')
def heat_db_sync(self):

View File

@ -112,6 +112,7 @@ def _load_subnets_config_groups():
else:
CONF.register_opts(config.get_remote_subnet_opts(), group=g)
LOG = logging.getLogger(__name__ + ".undercloud_config")

View File

@ -34,6 +34,7 @@ from tripleoclient import utils
class FailedValidation(Exception):
pass
CONF = cfg.CONF
# We need 8 GB, leave a little room for variation in what 8 GB means on