diff --git a/browbeat.py b/browbeat.py index c7cbe7b53..1adc34c85 100755 --- a/browbeat.py +++ b/browbeat.py @@ -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') diff --git a/lib/Tools.py b/lib/Tools.py index 2146bd39b..09fd4a423 100644 --- a/lib/Tools.py +++ b/lib/Tools.py @@ -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 + "/")