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:
Yan Xing'an 2017-06-12 23:43:09 -07:00
parent ba1e0d359f
commit 5699c0f414

View File

@ -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,