Skip to content

Commit 3d1db07

Browse files
committed
[OpenDataServices/cove#611] Update merging conflict message
1 parent 2e51a26 commit 3d1db07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flattentool/input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def merge(base, mergee, debug_info=None):
150150
if debug_info.get('root_id'):
151151
id_info = '{} "{}", '.format(debug_info.get('root_id'), debug_info.get('root_id_or_none'))+id_info
152152
warn(
153-
'Conflict when merging field "{}" for {} in sheet {}: "{}" != "{}". If you were not expecting merging you may have a duplicate ID.'.format(
154-
key, id_info, debug_info.get('sheet_name'), base_value, value),
153+
'You may have a duplicate Identifier: We couldn\'t merge these rows with the {}: field "{}" in sheet "{}": one cell has the value: "{}", the other cell has the value: "{}"'.format(
154+
id_info, key, debug_info.get('sheet_name'), base_value, value),
155155
DataErrorWarning)
156156
else:
157157
base[key].sub_cells.append(v)

0 commit comments

Comments
 (0)