We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e74d48 commit f2b9f88Copy full SHA for f2b9f88
1 file changed
odml/validation.py
@@ -174,7 +174,7 @@ def section_unique_ids(parent, id_map=None):
174
yield i
175
176
if sec.id in id_map:
177
- yield ValidationError(sec, "Duplicate id in Section '%s' and '%s'" %
+ yield ValidationError(sec, "Duplicate id in Section '%s' and %s" %
178
(sec.get_path(), id_map[sec.id]))
179
else:
180
id_map[sec.id] = "Section '%s'" % sec.get_path()
@@ -203,7 +203,7 @@ def property_unique_ids(section, id_map=None):
203
204
for prop in section.properties:
205
if prop.id in id_map:
206
- yield ValidationError(prop, "Duplicate id in Property '%s' and '%s'" %
+ yield ValidationError(prop, "Duplicate id in Property '%s' and %s" %
207
(prop.get_path(), id_map[prop.id]))
208
209
id_map[prop.id] = "Property '%s'" % prop.get_path()
0 commit comments