From b46956b72b9aca9529ce7aa678962f14d1e83cf6 Mon Sep 17 00:00:00 2001 From: Matthew Clapp Date: Wed, 23 Oct 2019 16:02:29 -0700 Subject: [PATCH] Fix bugs in logging.info statements. --- pipx/SharedLibs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipx/SharedLibs.py b/pipx/SharedLibs.py index 041a7cdf8c..50bb850730 100644 --- a/pipx/SharedLibs.py +++ b/pipx/SharedLibs.py @@ -39,9 +39,9 @@ def is_valid(self): def upgrade(self, pip_args: List[str], verbose: bool = False): # Don't try to upgrade multiple times per run if self.has_been_updated_this_run: - logging.info("Already upgraded libraries in", self.root) + logging.info(f"Already upgraded libraries in {self.root}") return - logging.info("Upgrading shared libraries in", self.root) + logging.info(f"Upgrading shared libraries in {self.root}") ignored_args = ["--editable"] _pip_args = [arg for arg in pip_args if arg not in ignored_args]