diff options
-rw-r--r-- | Post/migrations/0003_auto_20150603_0913.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Post/migrations/0003_auto_20150603_0913.py b/Post/migrations/0003_auto_20150603_0913.py index 321f09f..f936883 100644 --- a/Post/migrations/0003_auto_20150603_0913.py +++ b/Post/migrations/0003_auto_20150603_0913.py @@ -34,9 +34,9 @@ def add_lev_distance_data(apps, schema_editor): while offset < count: objs = BuildFailure.objects.all()[offset : offset + pagesize] for f in objs: - if f.LEV_DISTANCE is None: - f.LEV_DISTANCE = calc_lev_distance(f) - f.save() + if f.LEV_DISTANCE is None: + f.LEV_DISTANCE = calc_lev_distance(f) + f.save() del objs offset = offset + pagesize |