We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df5e9a commit 48bd898Copy full SHA for 48bd898
boto3/__init__.py
@@ -12,6 +12,7 @@
12
# language governing permissions and limitations under the License.
13
14
import logging
15
+from logging import NullHandler
16
17
from boto3.compat import _warn_deprecated_python
18
from boto3.session import Session
@@ -103,4 +104,4 @@ def resource(*args, **kwargs):
103
104
105
# Set up do-nothing logging like a library is supposed to.
106
# https://docs.python.org/3.3/howto/logging.html#configuring-logging-for-a-library
-logging.getLogger('boto3').addHandler(logging.NullHandler())
107
+logging.getLogger('boto3').addHandler(NullHandler())
0 commit comments