From fb193655b179ee2e01dc7022aa3a56c1c1cc97ad Mon Sep 17 00:00:00 2001 From: Daniel Miranda Date: Tue, 15 May 2018 13:42:56 -0300 Subject: [PATCH] Fix TransferManager.shutdown passing bad parameters to _shutdown --- s3transfer/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3transfer/manager.py b/s3transfer/manager.py index fb7a9cbb..ba6b75f1 100644 --- a/s3transfer/manager.py +++ b/s3transfer/manager.py @@ -546,7 +546,7 @@ def shutdown(self, cancel=False, cancel_msg=''): :param cancel_msg: The message to specify if canceling all in-progress transfers. """ - self._shutdown(cancel, cancel, cancel_msg) + self._shutdown(cancel, cancel_mgs) def _shutdown(self, cancel, cancel_msg, exc_type=CancelledError): if cancel: