Fix flake8 testing
Current flake8 complains about: roles/copy-release-tools-scripts/files/release-tools/ \ process_release_requests.py:74:13: E741 ambiguous variable name 'l' Fix it. Change-Id: I1eb3ed249aa5b368017c6be1894a91331b5a4ddb
This commit is contained in:
parent
cb1ddb645c
commit
542e2b8e24
@ -70,10 +70,10 @@ def find_modified_deliverable_files(reporoot):
|
||||
cwd=reporoot,
|
||||
).decode('utf-8')
|
||||
filenames = [
|
||||
l.strip()
|
||||
for l in results.splitlines()
|
||||
if (l.startswith('deliverables/')
|
||||
and not l.endswith('series_status.yaml'))
|
||||
f.strip()
|
||||
for f in results.splitlines()
|
||||
if (f.startswith('deliverables/')
|
||||
and not f.endswith('series_status.yaml'))
|
||||
]
|
||||
return filenames
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user