From adb155c5c37543d4b827ce7d20d8c78da38eb36c Mon Sep 17 00:00:00 2001 From: jkilpatr Date: Wed, 25 Jan 2017 08:17:44 -0500 Subject: [PATCH] Fix Python Linting Errors Some idiot merged a commit with linting errors last night, this should fix them. Change-Id: Iab7e4a2a2d5311eba9a7ebbbd4a5f60ab8bf59fd --- browbeat.py | 2 +- lib/Tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 + "/")