From 86243d2e57e450b52ae063d23653e74bf9b85e4d Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 25 Apr 2013 11:41:57 -0500 Subject: [PATCH] Removed an errant ipdb import from commit 9777442 --- django/db/models/query.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/django/db/models/query.py b/django/db/models/query.py index c36d81cc31..337049e2ff 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -312,11 +312,7 @@ class QuerySet(object): if skip: obj = model_cls(**dict(zip(init_list, row_data))) else: - try: - obj = model(*row_data) - except IndexError: - import ipdb; ipdb.set_trace() - pass + obj = model(*row_data) # Store the source database of the object obj._state.db = db