mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
25 lines
520 B
Python
25 lines
520 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__ = 'Idan Gazit <idan@gazit.me>'
|
|
__version__ = '1.1.1'
|
|
|
|
|
|
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())
|