Remove unused variable

'reqs_in' in openstack.common.setup.get_reqs_from_files is unused.

Change-Id: I789f380fdbd0fd001196bcebe1568197d4590b92
This commit is contained in:
RongzeZhu 2012-08-17 01:46:37 +08:00
parent 6436849d94
commit 6fc02c2711

View File

@ -50,7 +50,6 @@ def canonicalize_emails(changelog, mapping):
# Get requirements from the first file that exists
def get_reqs_from_files(requirements_files):
reqs_in = []
for requirements_file in requirements_files:
if os.path.exists(requirements_file):
return open(requirements_file, 'r').read().split('\n')