mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
Removed unused branch in ModelIterable.__iter__().
Unknown if it was ever used.
This commit is contained in:
parent
5d1941adcf
commit
50864b402b
@ -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…
Reference in New Issue
Block a user