import oauthlib (a dependency of the project)
[yelp-api-cdsw] / oauthlib / __init__.py
1 """
2     oauthlib
3     ~~~~~~~~
4
5     A generic, spec-compliant, thorough implementation of the OAuth
6     request-signing logic.
7
8     :copyright: (c) 2011 by Idan Gazit.
9     :license: BSD, see LICENSE for details.
10 """
11
12 __author__ = 'Idan Gazit <idan@gazit.me>'
13 __version__ = '0.7.2'
14
15
16 import logging
17 try:  # Python 2.7+
18     from logging import NullHandler
19 except ImportError:
20     class NullHandler(logging.Handler):
21
22         def emit(self, record):
23             pass
24
25 logging.getLogger('oauthlib').addHandler(NullHandler())

Benjamin Mako Hill || Want to submit a patch?