"""
    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__ = 'The OAuthlib Community'
__version__ = '2.1.0'


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

@@ -207,16 +207,63 @@
 ils.%0A%22%22%22
+%0Aimport logging%0Afrom logging import NullHandler
 %0A%0A__auth
@@ -321,191 +321,8 @@
 0'%0A%0A
-%0Aimport logging%0Atry:  # Python 2.7+%0A    from logging import NullHandler%0Aexcept ImportError:%0A    class NullHandler(logging.Handler):%0A%0A        def emit(self, record):%0A            pass%0A%0A
 logg

Remove Python 2.6 compatibility code.