Skip to content

Commit

Permalink
fix: unknown pip path
Browse files Browse the repository at this point in the history
  • Loading branch information
achillesrasquinha committed Jun 6, 2019
1 parent da9c096 commit 3f3971c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/pipupgrade/_pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ def _get_pip_executable(multiple = False):
_PIP_EXECUTABLE = _get_pip_executable()
_PIP_EXECUTABLES = _get_pip_executable(multiple = True)

logger.info("`pip` executables found: %s" % _PIP_EXECUTABLES)

def call(*args, **kwargs):
pip_exec = kwargs.pop("pip_exec", _PIP_EXECUTABLE)

Expand Down
5 changes: 4 additions & 1 deletion src/pipupgrade/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ def command(
yes = False,
no_color = True,
verbose = False
):
):
if not verbose:
logger.setLevel(log.NOTSET)

cli.echo(cli_format("Checking...", cli.YELLOW))
logger.info("Arguments Passed: %s" % locals())

Expand Down

0 comments on commit 3f3971c

Please sign in to comment.