mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Catch req.link = None
req.link is of type InstallRequirements which can be None. Return False (requirement not met) if this is the case.
This commit is contained in:
@@ -769,6 +769,8 @@ class Environment:
|
||||
None,
|
||||
)
|
||||
if match is not None:
|
||||
if req.link is None:
|
||||
return False
|
||||
if req.editable and req.link and req.link.is_file:
|
||||
requested_path = req.link.file_path
|
||||
if os.path.exists(requested_path):
|
||||
|
||||
Reference in New Issue
Block a user