From fb7ec207b17e0cacf52f9f3c2643c4b9036d827c Mon Sep 17 00:00:00 2001 From: Hsiaoming Yang Date: Thu, 19 Oct 2017 00:27:41 +0900 Subject: Version bump 2.0.5 --- oauthlib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oauthlib/__init__.py') diff --git a/oauthlib/__init__.py b/oauthlib/__init__.py index 9121582..459f307 100644 --- a/oauthlib/__init__.py +++ b/oauthlib/__init__.py @@ -10,7 +10,7 @@ """ __author__ = 'Idan Gazit ' -__version__ = '2.0.4' +__version__ = '2.0.5' import logging -- cgit v1.2.1 From 43b66d8e60ed44b40b895f7e6d974665ccb43f82 Mon Sep 17 00:00:00 2001 From: Pieter Ennes Date: Fri, 9 Mar 2018 21:03:15 +0000 Subject: Version bump 2.0.7. (cherry picked from commit 67ebd7a) --- oauthlib/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'oauthlib/__init__.py') diff --git a/oauthlib/__init__.py b/oauthlib/__init__.py index 459f307..3645010 100644 --- a/oauthlib/__init__.py +++ b/oauthlib/__init__.py @@ -9,8 +9,8 @@ :license: BSD, see LICENSE for details. """ -__author__ = 'Idan Gazit ' -__version__ = '2.0.5' +__author__ = 'The OAuthlib Community' +__version__ = '2.0.7' import logging -- cgit v1.2.1 From 789220fc5b450ed72899d87961eef155fbd22fc6 Mon Sep 17 00:00:00 2001 From: Pieter Ennes Date: Mon, 23 Apr 2018 21:47:51 +0100 Subject: Prepare 2.1.0 release. (cherry picked from commit 5c76855) --- oauthlib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oauthlib/__init__.py') diff --git a/oauthlib/__init__.py b/oauthlib/__init__.py index 3645010..3393efe 100644 --- a/oauthlib/__init__.py +++ b/oauthlib/__init__.py @@ -10,7 +10,7 @@ """ __author__ = 'The OAuthlib Community' -__version__ = '2.0.7' +__version__ = '2.1.0' import logging -- cgit v1.2.1 From a102731c88f496b557dedd4024fb9b82801d134a Mon Sep 17 00:00:00 2001 From: Omer Katz Date: Sun, 20 May 2018 07:42:31 +0300 Subject: Remove Python 2.6 compatibility code. --- oauthlib/__init__.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'oauthlib/__init__.py') diff --git a/oauthlib/__init__.py b/oauthlib/__init__.py index 3393efe..b7586d2 100644 --- a/oauthlib/__init__.py +++ b/oauthlib/__init__.py @@ -8,18 +8,10 @@ :copyright: (c) 2011 by Idan Gazit. :license: BSD, see LICENSE for details. """ +import logging +from logging import NullHandler __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()) -- cgit v1.2.1