Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / oauthlib / __init__.py @ 564

History | View | Annotate | Download (520 Bytes)

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())