Use new api in help methods

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-07-16 02:42:45 -04:00
parent 8bb39a412a
commit 861c075876
+1 -1
View File
@@ -30,7 +30,7 @@ def get_pipenv_diagnostics():
print("Other Python installations in `PATH`:")
print("")
finder = pythonfinder.Finder(system=False, global_search=True)
python_paths = getattr(finder, 'system_path').find_all_python_versions()
python_paths = finder.find_all_python_versions()
for python in python_paths:
python_version = python.py_version.version
python_path = python.path.as_posix()