From b998d80be469cd1bf49085462cb51a0a02350585 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 4 Sep 2011 18:26:28 -0500 Subject: [PATCH] I can't believe I checked in my debugging garbage, removed! --- mediagoblin/util.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mediagoblin/util.py b/mediagoblin/util.py index 410b1c9a..7ff3ec7f 100644 --- a/mediagoblin/util.py +++ b/mediagoblin/util.py @@ -349,12 +349,7 @@ def get_locale_from_request(request): Figure out what target language is most appropriate based on the request """ - if request.method == 'GET': - request_form = request.GET - else: - import pdb - pdb.set_trace() - request_form = request.POST + request_form = request.GET or request.POST if request_form.has_key('lang'): return locale_to_lower_upper(request_form['lang']) -- 2.25.1