Flake8 fixes, remove stray print.

This commit is contained in:
Chris Church
2015-10-02 15:13:16 -04:00
parent 2ba5e06e2c
commit b5512e23bf
4 changed files with 5 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ import urllib
import six
# Django
from django.contrib.auth import logout
from django.contrib.auth import login, logout
from django.shortcuts import redirect
from django.utils.timezone import now
@@ -87,4 +87,4 @@ class SocialAuthMiddleware(SocialAuthExceptionMiddleware):
def get_redirect_uri(self, request, exception):
strategy = getattr(request, 'social_strategy', None)
return strategy.session_get('next', '') or strategy.setting('LOGIN_ERROR_URL')
return strategy.session_get('next', '') or strategy.setting('LOGIN_ERROR_URL')