Omit the "other-requirements.txt"
The plugin needs to omit the "other" requirements files when indexing python packages. Change-Id: I52600165c24031d499c604044c30fb403ec51741 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
7f50658956
commit
991380305f
|
@ -520,8 +520,9 @@ class DependencyFileProcessor(object):
|
|||
return_list.remove(file_name)
|
||||
return_list.insert(index, file_name)
|
||||
else:
|
||||
print return_list
|
||||
for file_name in return_list:
|
||||
if file_name.endswith('other-requirements.txt'):
|
||||
continue
|
||||
with open(file_name, 'r') as f:
|
||||
packages = [
|
||||
i.split()[0] for i in f.read().splitlines()
|
||||
|
|
Loading…
Reference in New Issue