Merge "Fix Python Linting Errors"
This commit is contained in:
commit
d547dc1125
@ -68,7 +68,7 @@ def main():
|
|||||||
|
|
||||||
_logger.debug("CLI Args: {}".format(_cli_args))
|
_logger.debug("CLI Args: {}".format(_cli_args))
|
||||||
|
|
||||||
# Default to all workloads
|
# Default to all workloads
|
||||||
if _cli_args.workloads == []:
|
if _cli_args.workloads == []:
|
||||||
_cli_args.workloads.append('all')
|
_cli_args.workloads.append('all')
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ class Tools(object):
|
|||||||
if item.startswith('$'):
|
if item.startswith('$'):
|
||||||
var = item.translate(None, '$')
|
var = item.translate(None, '$')
|
||||||
replacement = os.environ[var]
|
replacement = os.environ[var]
|
||||||
if replacement == None:
|
if replacement is None:
|
||||||
new_path.extend(item + "/")
|
new_path.extend(item + "/")
|
||||||
else:
|
else:
|
||||||
new_path.extend(replacement + "/")
|
new_path.extend(replacement + "/")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user