Skip to content

Commit

Permalink
Fix TransferManager.cancel passing bad parameters to _cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkza committed May 15, 2018
1 parent 0e692c3 commit 4a434d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3transfer/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4a434d6

Please sign in to comment.