diff options
| author | David Szotten <davidszotten@gmail.com> | 2015-03-15 19:07:39 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-24 11:42:53 -0400 |
| commit | 80e3444eca045799cc40e50c92609e852a299d38 (patch) | |
| tree | 317a51482dedce4ded0f40d7a55f3d5336c22770 /docs | |
| parent | 118cae2df8c89b63a2dcecab0728e6199f101fa1 (diff) | |
Fixed #24483 -- Prevented keepdb from breaking with generator choices.
If Field.choices is provided as an iterator, consume it in __init__ instead
of using itertools.tee (which ends up holding everything in memory
anyway). Fixes a bug where deconstruct() was consuming the iterator but
bypassing the call to `tee`.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
