Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve JediDebugInfo for envs #858

Merged
merged 2 commits into from
Jul 27, 2018
Merged

Conversation

blueyed
Copy link
Collaborator

@blueyed blueyed commented Jul 27, 2018

This is taken out of #836.

@@ -193,6 +193,13 @@ def get_environment(use_cache=True):
return environment


def get_known_environments():
"""Get known Jedi environments."""
envs = list(jedi.api.environment.find_virtualenvs(paths=[], safe=False))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why overwrite safe? It's not like people are really using that (nor will they probably ever in jedi-vim) and also why paths?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paths is used in #836 - thought it would be easier to merge then probably by keping it here.
´safe=Falseis used because the user configurespaths` in #836.
I will change it here to not use any args.

@davidhalter
Copy link
Owner

Thanks!

@davidhalter davidhalter merged commit 4c430ed into davidhalter:master Jul 27, 2018
@blueyed blueyed deleted the jedi-info branch July 28, 2018 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants