We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1755a6 commit 03db458Copy full SHA for 03db458
1 file changed
odml/tools/dict_parser.py
@@ -320,7 +320,7 @@ def parse_sections(self, section_list):
320
try:
321
sec = odmlfmt.Section.create(**sec_attrs)
322
except Exception as exc:
323
- msg = "Error trying to create Section (%s)\n%s" % (sec_attrs, str(exc))
+ msg = "Section not created (%s)\n %s" % (sec_attrs, str(exc))
324
self.error(msg)
325
# If recovered in ignore_error mode, return empty list
326
return odml_sections
@@ -364,7 +364,7 @@ def parse_properties(self, props_list):
364
prop = odmlfmt.Property.create(**prop_attrs)
365
odml_props.append(prop)
366
367
- msg = "Error trying to create Property (%s)\n%s" % (prop_attrs, str(exc))
+ msg = "Property not created (%s)\n%s" % (prop_attrs, str(exc))
368
369
370
return odml_props
0 commit comments