mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Removed unused branch in ModelIterable.__iter__().
Unknown if it was ever used.
This commit is contained in:
parent
5d1941adcf
commit
50864b402b
1 changed files with 0 additions and 2 deletions
|
@ -54,8 +54,6 @@ class ModelIterable(BaseIterable):
|
|||
results = compiler.execute_sql()
|
||||
select, klass_info, annotation_col_map = (compiler.select, compiler.klass_info,
|
||||
compiler.annotation_col_map)
|
||||
if klass_info is None:
|
||||
return
|
||||
model_cls = klass_info['model']
|
||||
select_fields = klass_info['select_fields']
|
||||
model_fields_start, model_fields_end = select_fields[0], select_fields[-1] + 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue