From 5f0ee685f250b72e851b4cf6fd57f53f95d1a996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Gr=C3=BCbel?= Date: Tue, 28 Nov 2023 02:43:37 +0100 Subject: [PATCH] fix CRT debug log (#3950) --- boto3/s3/transfer.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/boto3/s3/transfer.py b/boto3/s3/transfer.py index 27e5471474..c33ce6543a 100644 --- a/boto3/s3/transfer.py +++ b/boto3/s3/transfer.py @@ -199,11 +199,8 @@ def _should_use_crt(config): logger.debug( "Opting out of CRT Transfer Manager. Preferred client: " - "{pref_transfer_client}, CRT available: {HAS_CRT}, " - "Instance Optimized: {is_optimized_instance}.", - pref_transfer_client, - HAS_CRT, - is_optimized_instance, + f"{pref_transfer_client}, CRT available: {HAS_CRT}, " + f"Instance Optimized: {is_optimized_instance}." ) return False