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)
        note.private = self.citation.private
        note.set(text)
        note.type.set(gen.lib.NoteType.SOURCE_TEXT)
        self.db.add_note(note, self.trans)   
        #set correct change time

src/g/r/gramps-3.4.2/src/plugins/lib/libgedcom.py   Gramps(Download)
        gramps_id = self.dbase.find_next_note_gramps_id()
        note.set_gramps_id(gramps_id)
        note.set_type(gen.lib.NoteType.SOURCE_TEXT)
        self.dbase.add_note(note, self.trans)
 
        gramps_id = self.dbase.find_next_note_gramps_id()
        note.set_gramps_id(gramps_id)
        note.set_type(gen.lib.NoteType.SOURCE_TEXT)
        self.dbase.add_note(note, self.trans)
 

src/g/r/gramps-3.4.2/src/plugins/export/ExportGedcom.py   Gramps(Download)
                          for h in citation.get_note_list() ]
            note_list = [ n for n in note_list 
                          if n.get_type() == gen.lib.NoteType.SOURCE_TEXT]
 
            if note_list:
                          for h in citation.get_note_list() ]
            note_list = [ n.handle for n in note_list 
                          if n and n.get_type() != gen.lib.NoteType.SOURCE_TEXT]
            self.__note_references(note_list, level+1)
            self.__photos(citation.get_media_list(), level+1)

src/g/r/gramps-3.4.2/src/ScratchPad.py   Gramps(Download)
                               citation.get_note_list())
                srctxtlist = [note for note in notelist 
                        if note.get_type() == gen.lib.NoteType.SOURCE_TEXT]
                page = citation.get_page()
                if not page: