fix what-broke to strip environment markers
The addition of environment markers broke what-broke, remove them before processing it. Change-Id: I4bad24431a6e037e149401f5e4e33130f6ecb07f
This commit is contained in:
parent
7f192f6595
commit
c7136bc2cd
@ -72,6 +72,8 @@ def get_requirements():
|
||||
# skip the comment or empty lines
|
||||
if not line or line.startswith(('#', '\n')):
|
||||
continue
|
||||
# get rid of env markers, they are not relevant for our purposes.
|
||||
line = line.split(';')[0]
|
||||
reqs.append(_package_name(line))
|
||||
return reqs
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user