mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Include oauthlib module
This commit is contained in:
parent
363d1b07ca
commit
06b684c899
48 changed files with 8620 additions and 704 deletions
25
lib/oauthlib/__init__.py
Normal file
25
lib/oauthlib/__init__.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
"""
|
||||
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())
|
Loading…
Add table
Add a link
Reference in a new issue