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))
|
||||
|
||||
# Default to all workloads
|
||||
# Default to all workloads
|
||||
if _cli_args.workloads == []:
|
||||
_cli_args.workloads.append('all')
|
||||
|
||||
|
@ -136,7 +136,7 @@ class Tools(object):
|
||||
if item.startswith('$'):
|
||||
var = item.translate(None, '$')
|
||||
replacement = os.environ[var]
|
||||
if replacement == None:
|
||||
if replacement is None:
|
||||
new_path.extend(item + "/")
|
||||
else:
|
||||
new_path.extend(replacement + "/")
|
||||
|
Loading…
Reference in New Issue
Block a user