From 251346902827a956cafbc39a1935c1a816454279 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 12 Mar 2012 12:04:31 +0530 Subject: [PATCH] uh remove the pdb set_trace() --- manifests/ships/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/ships/views.py b/manifests/ships/views.py index a5180a1..63bb9e6 100644 --- a/manifests/ships/views.py +++ b/manifests/ships/views.py @@ -10,7 +10,7 @@ from ox.django.shortcuts import render_to_json_response from django.views.decorators.csrf import csrf_exempt from django.contrib.auth.decorators import login_required from django.core.paginator import Paginator, InvalidPage, EmptyPage -import pdb +#import pdb @login_required def googletranslate(request, model, field): @@ -155,7 +155,7 @@ def stringtranslate(request): trans_field = field + "_trans" matches = m.objects.filter(q) savedObjects = 0 - pdb.set_trace() +# pdb.set_trace() for match in matches: match.__setattr__(trans_field, translation) match.save()