[Python-modules-commits] [python-social-auth] 31/89: Do not instantiate Logger directly

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:15:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.15
in repository python-social-auth.

commit f9e36da2891a84c67987cdfa8462869ae87458a1
Author: Bruno Alla <bruno.alla at founders4schools.org.uk>
Date:   Mon Mar 14 18:06:43 2016 +0000

    Do not instantiate Logger directly
    
    https://docs.python.org/2/library/logging.html#logger-objects
---
 social/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/social/utils.py b/social/utils.py
index c2db351..0a473af 100644
--- a/social/utils.py
+++ b/social/utils.py
@@ -19,7 +19,7 @@ from social.p3 import urlparse, urlunparse, urlencode, \
 
 SETTING_PREFIX = 'SOCIAL_AUTH'
 
-social_logger = logging.Logger('social')
+social_logger = logging.getLogger('social')
 
 
 class SSLHttpAdapter(HTTPAdapter):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list