We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4341ad commit 0794894Copy full SHA for 0794894
1 file changed
s3transfer/__init__.py
@@ -134,6 +134,7 @@ def __call__(self, bytes_amount):
134
import socket
135
import string
136
import threading
137
+from logging import NullHandler
138
139
from botocore.compat import six # noqa: F401
140
from botocore.exceptions import IncompleteReadError, ResponseStreamingError
@@ -148,11 +149,6 @@ def __call__(self, bytes_amount):
148
149
__version__ = '0.13.0'
150
151
-class NullHandler(logging.Handler):
152
- def emit(self, record):
153
- pass
154
-
155
156
logger = logging.getLogger(__name__)
157
logger.addHandler(NullHandler())
158
0 commit comments