]> projects.mako.cc - twitter-api-cdsw/blob - oauthlib/__init__.py
Handle content-type header charset value for streaming API
[twitter-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__ = '1.0.3'
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?