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

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

src/g/r/gramps-3.4.2/src/gen/proxy/private.py   Gramps(Download)
    new_place = Place()
 
    new_place.set_title(place.get_title())
    new_place.set_gramps_id(place.get_gramps_id())
    new_place.set_handle(place.get_handle())

src/g/r/gramps-3.4.2/src/plugins/lib/libgedcom.py   Gramps(Download)
            intid = Utils.create_id()
            place.set_handle(intid)
            place.set_title(title)
            place.set_gramps_id(new_id)
            self.dbase.add_place(place, self.trans)

src/g/r/gramps-3.4.2/src/plugins/import/ImportProGen.py   Gramps(Download)
            # Create a new Place
            place = gen.lib.Place()
            place.set_title(place_name)
            self.db.add_place(place, self.trans)
            self.db.commit_place(place, self.trans)

src/g/r/gramps-3.4.2/src/plugins/import/ImportGeneWeb.py   Gramps(Download)
        else:
            place = gen.lib.Place()
            place.set_title(place_name)
            self.db.add_place(place,self.trans)
            self.db.commit_place(place,self.trans)

src/g/r/gramps-3.4.2/src/plugins/import/ImportCsv.py   Gramps(Download)
                return (0, place)
        place = gen.lib.Place()
        place.set_title(place_name)
        self.db.add_place(place, self.trans)
        return (1, place)