diff --git a/src/manage/list_command.py b/src/manage/list_command.py index fd87d29..879acfc 100644 --- a/src/manage/list_command.py +++ b/src/manage/list_command.py @@ -331,8 +331,7 @@ def execute(cmd): ]: if source: downloader = IndexDownloader(cmd, source, Index) - if cmd.fallback_source_only: - downloader.quiet = True + downloader.quiet = True try: installs = _get_installs_from_index( downloader, diff --git a/src/manage/urlutils.py b/src/manage/urlutils.py index 47d78d4..cac0592 100644 --- a/src/manage/urlutils.py +++ b/src/manage/urlutils.py @@ -796,11 +796,16 @@ def __next__(self): verified = self.verify(url, data, parsed, show_settings=True) if verified is True: - LOGGER.info("!G!The signature for %s was successfully verified.!W!", s_url) + (LOGGER.verbose if self.quiet else LOGGER.info)( + "!G!The signature for %s was successfully verified.!W!", + s_url, + ) elif verified is False: LOGGER.warn("Signature verification failure ignored for %s", s_url) else: - LOGGER.info("No signature to verify for %s", s_url) + (LOGGER.verbose if self.quiet else LOGGER.info)( + "No signature to verify for %s", s_url + ) self._cache[url] = data