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

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

src/g/r/gramps-3.4.2/src/plugins/textreport/DetAncestralReport.py   Gramps(Download)
        for family_handle in person.get_family_handle_list():
            family = self.database.get_family_from_handle(family_handle)
            spouse_handle = ReportUtils.find_spouse(person,family)
            spouse = self.database.get_person_from_handle(spouse_handle)
            if spouse:

src/g/r/gramps-3.4.2/src/plugins/textreport/DetDescendantReport.py   Gramps(Download)
        for family_handle in person.get_family_handle_list():
            family = self.database.get_family_from_handle(family_handle)
            spouse_handle = ReportUtils.find_spouse(person, family)
            spouse = self.database.get_person_from_handle(spouse_handle)
            if spouse:

src/g/r/gramps-3.4.2/src/plugins/webreport/NarrativeWeb.py   Gramps(Download)
 
        spouse = False
        spouse_handle = ReportUtils.find_spouse(self.person, family)
        if spouse_handle:
            spouse = self.dbase_.get_person_from_handle(spouse_handle)
                            for family_handle in family_list:
                                family = self.dbase_.get_family_from_handle(family_handle)
                                partner_handle = ReportUtils.find_spouse(person, family)
                                if partner_handle:
                                    partner = self.dbase_.get_person_from_handle(partner_handle)
                            for family_handle in family_list:
                                family = self.dbase_.get_family_from_handle(family_handle)
                                partner_handle = ReportUtils.find_spouse(person, family)
                                if partner_handle:
                                    partner = self.dbase_.get_person_from_handle(partner_handle)
 
                                        # get partner if there is one listed?
                                        partner_handle = ReportUtils.find_spouse(person, family)
                                        if partner_handle:
                                            partner = self.dbase_.get_person_from_handle(partner_handle)
        for family_handle in self.person.get_family_handle_list():
            rel_family = self.dbase_.get_family_from_handle(family_handle)
            spouse_handle = ReportUtils.find_spouse(self.person, rel_family)
            if spouse_handle:
                spouse = self.dbase_.get_person_from_handle(spouse_handle)

src/g/r/gramps-3.4.2/src/plugins/lib/libnarrate.py   Gramps(Download)
        """
 
        spouse_handle = ReportUtils.find_spouse(self.__person, family)
        spouse = self.__db.get_person_from_handle(spouse_handle)
        event = ReportUtils.find_marriage(self.__db, family)

src/g/r/gramps-3.4.2/src/Merge/mergeperson.py   Gramps(Download)
                family = self.database.get_family_from_handle(fid)
                self.add(tobj, normal, "%s:\t%s" % (_('Family ID'), pid))
                spouse_id = ReportUtils.find_spouse(person, family)
                if spouse_id:
                    spouse = self.database.get_person_from_handle(spouse_id)

src/g/r/gramps-3.4.2/src/plugins/textreport/DescendReport.py   Gramps(Download)
            family = self.database.get_family_from_handle(family_handle)
 
            spouse_handle = ReportUtils.find_spouse(person, family)
 
            if not self.showdups and spouse_handle in self.person_printed:

src/g/r/gramps-3.4.2/src/plugins/graph/GVFamilyLines.py   Gramps(Download)
                for family_handle in person.get_family_handle_list():
                    family = self._db.get_family_from_handle(family_handle)
                    spouse_handle = ReportUtils.find_spouse(person, family)
                    if spouse_handle:
                        if (spouse_handle in self._people or
            for family_handle in person.get_family_handle_list():
                family = self._db.get_family_from_handle(family_handle)
                handle = ReportUtils.find_spouse(person, family)
                if handle in self._people:
                    spouse_count += 1
 
                        # include the spouse from this person's family
                        spouse_handle = ReportUtils.find_spouse(person, family)
                        if spouse_handle:
                            spouse = self._db.get_person_from_handle(spouse_handle)

src/g/r/gramps-3.4.2/src/plugins/tool/NotRelated.py   Gramps(Download)
            for familyHandle in person.get_family_handle_list():
                family = self.db.get_family_from_handle(familyHandle)
                spouseHandle = ReportUtils.find_spouse(person, family)
                if spouseHandle and \
                  spouseHandle not in self.handlesOfPeopleAlreadyProcessed:

src/g/r/gramps-3.4.2/src/plugins/gramplet/WhatsNext.py   Gramps(Download)
    def __get_spouse(self, person, family):
 
        spouse_handle = ReportUtils.find_spouse(person, family)
        if not spouse_handle:
            if family.get_relationship() == FamilyRelType.MARRIED:

src/g/r/gramps-3.4.2/src/plugins/gramplet/DescendGramplet.py   Gramps(Download)
            family = self.dbstate.db.get_family_from_handle(family_handle)
 
            spouse_handle = ReportUtils.find_spouse(person,family)
            if spouse_handle:
                spouse = self.dbstate.db.get_person_from_handle(spouse_handle)

  1 | 2  Next