From: deyk Date: Thu, 19 Jan 2012 19:55:13 +0000 (-0800) Subject: Removed some broken logging statements. X-Git-Tag: 22.4~53 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/7cc1db1f353e410cea7b02c454f3e2a853a90cae?ds=sidebyside;hp=2e6f7a63c73a0556cd96eb2c3bfb5676db84cb6c Removed some broken logging statements. --- diff --git a/cas_provider/views.py b/cas_provider/views.py index 295c3f3..235b38f 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -39,7 +39,6 @@ def login(request, template_name='cas/login.html', success_redirect='/account/', errors = [] if request.method == 'POST': if merge: - logging.debug('Using mergeloginform, email is %' % request.GET.get('email')) form = MergeLoginForm(request.POST, request=request) else: form = LoginForm(request.POST, request=request) @@ -90,10 +89,8 @@ def login(request, template_name='cas/login.html', success_redirect='/account/', errors.append('Incorrect username and/or password.') else: if merge: - logging.debug('Using mergeloginform, email is %' % request.GET.get('email')) form = MergeLoginForm(initial={'service': service, 'email': request.GET.get('email')}) else: - logging.debug('Using normal login form.') form = LoginForm(initial={'service': service}) logging.debug('Rendering response on %s, merge is %s', template_name, merge) return render_to_response(template_name, {'form': form, 'errors': errors}, context_instance=RequestContext(request))