Merge "Fix Python Linting Errors"

This commit is contained in:
Jenkins 2017-01-25 16:12:21 +00:00 committed by Gerrit Code Review
commit d547dc1125
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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 + "/")