From 7cc1db1f353e410cea7b02c454f3e2a853a90cae Mon Sep 17 00:00:00 2001 From: deyk Date: Thu, 19 Jan 2012 11:55:13 -0800 Subject: [PATCH 1/1] Removed some broken logging statements. --- cas_provider/views.py | 3 --- 1 file changed, 3 deletions(-) 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)) -- 2.20.1