Fix "global name 'blacklist' is not defined" bug.
Correct backlist to blacklist in project-requirements-change.py. Refer to https://review.openstack.org/#/c/473402 for more info. Change-Id: I392737bc10752a9bfa23e985763dd5b6e7d19954
This commit is contained in:
parent
ba1e0d359f
commit
5699c0f414
@ -179,7 +179,7 @@ def main():
|
||||
for k, entries in global_reqs.items():
|
||||
# Discard the lines: we don't need them.
|
||||
global_reqs[k] = set(r for (r, line) in entries)
|
||||
backlist = requirement.parse(
|
||||
blacklist = requirement.parse(
|
||||
open(reqdir + '/blacklist.txt', 'rt').read())
|
||||
cwd = os.getcwd()
|
||||
# build a list of requirements in the proposed change,
|
||||
|
Loading…
Reference in New Issue
Block a user