Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/g/r/gramps-3.4.2/src/plugins/import/ImportXml.py   Gramps(Download)
            self.note.format = int(attrs.get('format', gen.lib.Note.FLOWED))
            self.note.type.set_from_xml_str(attrs.get('type',
                                                      gen.lib.NoteType.UNKNOWN))
            self.convert_marker(attrs, self.note)
 

src/g/r/gramps-3.4.2/src/Utils.py   Gramps(Download)
        obj.set_description(_('Unknown'))
    elif isinstance(obj, gen.lib.Note):
        obj.set_type(gen.lib.NoteType.UNKNOWN);
        text = _('Unknown, created to replace a missing note object.')
        link_start = text.index(',') + 2