mirror of
https://github.com/beetbox/beets.git
synced 2025-12-30 04:22:40 +01:00
Remove requests/urllib3 logging override in discogs
Discog plugin overrides the global logging for `requests` for a reason that seems no longer valid. I can't seem to reproduce the logging behavior mentioned in the preceding comment, so I'm removing it. If we do want to modify `requests` logging in the future, then we should hook it into beets verbose logging.
This commit is contained in:
parent
f4d9af54b6
commit
bca6d2af01
1 changed files with 0 additions and 5 deletions
|
|
@ -19,7 +19,6 @@ discogs-client library.
|
|||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import beets.ui
|
||||
from beets import logging
|
||||
from beets import config
|
||||
from beets.autotag.hooks import AlbumInfo, TrackInfo, Distance
|
||||
from beets.plugins import BeetsPlugin
|
||||
|
|
@ -38,10 +37,6 @@ import traceback
|
|||
from string import ascii_lowercase
|
||||
|
||||
|
||||
# Silence spurious INFO log lines generated by urllib3.
|
||||
urllib3_logger = logging.getLogger('requests.packages.urllib3')
|
||||
urllib3_logger.setLevel(logging.CRITICAL)
|
||||
|
||||
USER_AGENT = u'beets/{0} +http://beets.io/'.format(beets.__version__)
|
||||
|
||||
# Exceptions that discogs_client should really handle but does not.
|
||||
|
|
|
|||
Loading…
Reference in a new issue