mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-12 02:22:56 +08:00
26 lines
516 B
Python
26 lines
516 B
Python
|
"""
|
||
|
oauthlib
|
||
|
~~~~~~~~
|
||
|
|
||
|
A generic, spec-compliant, thorough implementation of the OAuth
|
||
|
request-signing logic.
|
||
|
|
||
|
:copyright: (c) 2011 by Idan Gazit.
|
||
|
:license: BSD, see LICENSE for details.
|
||
|
"""
|
||
|
|
||
|
__author__ = 'The OAuthlib Community'
|
||
|
__version__ = '2.1.0'
|
||
|
|
||
|
|
||
|
import logging
|
||
|
try: # Python 2.7+
|
||
|
from logging import NullHandler
|
||
|
except ImportError:
|
||
|
class NullHandler(logging.Handler):
|
||
|
|
||
|
def emit(self, record):
|
||
|
pass
|
||
|
|
||
|
logging.getLogger('oauthlib').addHandler(NullHandler())
|