diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2013-04-25 11:41:57 -0500 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2013-04-25 11:41:57 -0500 |
| commit | 86243d2e57e450b52ae063d23653e74bf9b85e4d (patch) | |
| tree | 87bbc304450d0c56c152c114991d5c988ee9ff88 | |
| parent | 8f7276b782e4e10f3e361f9d833f4e415e70bb28 (diff) | |
Removed an errant ipdb import from commit 9777442
| -rw-r--r-- | django/db/models/query.py | 6 |
1 files changed, 1 insertions, 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 |
