# HG changeset patch # User casties # Date 1492794489 -7200 # Node ID 5a1a4af235eb5b85017301d0b7ec2b770ce72776 # Parent b9a6e596ebe41f24a8f72419e7d4b374d3b20e29 fix fix of transfer of ownvalue to _label attribute. diff -r b9a6e596ebe4 -r 5a1a4af235eb importFromOpenMind/importer/ismixml2model.py --- a/importFromOpenMind/importer/ismixml2model.py Fri Apr 21 19:04:09 2017 +0200 +++ b/importFromOpenMind/importer/ismixml2model.py Fri Apr 21 19:08:09 2017 +0200 @@ -94,13 +94,13 @@ # get attributes element atts_elem = ent_elem.find('attributes') - # more text content of entity element - ov += atts_elem.tail or '' - if atts_elem is None: log('DEBUG', "entity has no attributes: %s"%ent_elem) else: + # text content of entity element after atts_elem + ov += atts_elem.tail or '' + # go through all attributes for att_elem in atts_elem: ct = att_elem.get('content-type', None)