From b3ad6a6d77c19d9156a5fd3bc8d8364dcf96868a Mon Sep 17 00:00:00 2001 From: Aditya Bansal Date: Sun, 7 May 2017 20:20:41 +0530 Subject: [PATCH] pep8: Add compliance with rule E261 to hash_reqs.py. --- scripts/lib/hash_reqs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/hash_reqs.py b/scripts/lib/hash_reqs.py index baa9c50619..0a87fd83a3 100755 --- a/scripts/lib/hash_reqs.py +++ b/scripts/lib/hash_reqs.py @@ -18,12 +18,12 @@ def expand_reqs_helper(fpath, visited): visited.add(fpath) curr_dir = os.path.dirname(fpath) - result = [] # type: List[str] + result = [] # type: List[str] for line in open(fpath): if line.startswith('#'): continue - dep = line.split(" #", 1)[0].strip() # remove comments and strip whitespace + dep = line.split(" #", 1)[0].strip() # remove comments and strip whitespace if dep: if dep.startswith('-r'): child = os.path.join(curr_dir, dep[3:])