changeset 10663 | 54b8a1f249fb |
parent 9702 | c2108dbfb508 |
--- a/doc/tutorials/dataimport/diseasome_parser.py Tue Sep 15 16:15:03 2015 +0200 +++ b/doc/tutorials/dataimport/diseasome_parser.py Tue Oct 13 15:09:22 2015 +0200 @@ -97,4 +97,4 @@ entities[subj]['relations'].setdefault(MAPPING_RELS[rel], set()) entities[subj]['relations'][MAPPING_RELS[rel]].add(unicode(obj)) return ((ent.get('attributes'), ent.get('relations')) - for ent in entities.itervalues()) + for ent in entities.values())