Skip to content
This repository was archived by the owner on Feb 26, 2019. It is now read-only.

Commit 9ee3560

Browse files
pull out all the stops
1 parent 7f60f0c commit 9ee3560

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pip/_internal/download.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,9 @@ def download(self, target_relpath, dest_dir, dest_filename):
389389
# You may turn toggle this behaviour using the "enable_logging" flag in the
390390
# TUF configuration file.
391391
tuf.settings.ENABLE_FILE_LOGGING = False
392-
tuf.log.__DEFAULT_CONSOLE_LOG_LEVEL = logging.WARNING
392+
tuf.log._DEFAULT_LOG_LEVEL = logging.WARNING
393+
tuf.log._DEFAULT_CONSOLE_LOG_LEVEL = logging.WARNING
394+
tuf.log.remove_console_handler()
393395
from tuf.client.updater import Updater
394396

395397
from in_toto import verifylib

0 commit comments

Comments
 (0)