Use the right requirement key
This commit is contained in:
parent
9d38611757
commit
1556ca5be7
@ -934,7 +934,7 @@ class PythonTestingComponent(component.Component):
|
||||
pep8_wanted = None
|
||||
if isinstance(i_sibling, (PythonInstallComponent)):
|
||||
for p in i_sibling.pip_requires:
|
||||
req = p['__requirement']
|
||||
req = p['requirement']
|
||||
if req.key == "pep8":
|
||||
pep8_wanted = req
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user