Skip to content

Commit

Permalink
only info if during discovery fail to query a executable (#1574)
Browse files Browse the repository at this point in the history
Signed-off-by: Bernat Gabor <[email protected]>
  • Loading branch information
gaborbernat authored Feb 11, 2020
1 parent f8afe88 commit 00b7f92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/changelog/1574.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
While discovering a python executables interpreters that cannot be queried are now displayed with info level rather
than warning, so now they're no longer shown by default (these can be just executables to which we don't have access
or that are broken, don't warn if it's not the target Python we want) - by :user:`gaborbernat`.
2 changes: 1 addition & 1 deletion src/virtualenv/discovery/cached_py_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def from_exe(cls, exe, raise_on_error=True, ignore_cache=False):
if raise_on_error:
raise result
else:
logging.warning("%s", str(result))
logging.info("%s", str(result))
result = None
return result

Expand Down

0 comments on commit 00b7f92

Please sign in to comment.