aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-06-09 15:36:23 -0500
committerMichael Wood <michael.g.wood@intel.com>2016-06-23 12:21:52 +0100
commitef6ace38e7368f9a99d06b3cb111b201de1f64ed (patch)
tree551a7449d33735b5079fe1497cb62d9dce4e00c6
parentb963e6b60dbe79754321a04c87ffd93e5f9b0123 (diff)
downloaderror-report-web-ef6ace38e7368f9a99d06b3cb111b201de1f64ed.tar.gz
error-report-web-ef6ace38e7368f9a99d06b3cb111b201de1f64ed.tar.bz2
error-report-web-ef6ace38e7368f9a99d06b3cb111b201de1f64ed.zip
migrations: 0003_auto_20150603_0913 Replace tabs for spaces
When try to migrate using python3 it raises an exception because found tabs inside the migration. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com>
-rw-r--r--Post/migrations/0003_auto_20150603_0913.py6
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