From 8df131e85f85a3fccb2de50ca7aed942776f6ee6 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Fri, 19 Jun 2015 14:48:28 -0300 Subject: [PATCH] Adjust field mappings for migration --- legacy/scripts/field_mappings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/scripts/field_mappings.py b/legacy/scripts/field_mappings.py index 1eaceb495..485db7165 100644 --- a/legacy/scripts/field_mappings.py +++ b/legacy/scripts/field_mappings.py @@ -7,7 +7,7 @@ from migration_base import appconfs, legacy_app def is_field_line(line): - return not line.strip().startswith('#') and ' = ' in line + return not line.strip().startswith('#') and ' = ' in line and ' # ' in line def get_field(line):