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):