2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/EventView.py * src/DataViews/FamilyList.py * src/DataViews/PedigreeView.py * src/DataViews/PersonView.py * src/GrampsCfg.py * src/Editors/_EditPrimary.py * src/DisplayTabs/_EmbeddedList.py * src/DisplayTabs/_BackRefList.py * src/plugins/RelCalc.py * src/QuickReports.py * src/Relationship.py * src/Selectors/_BaseSelector.py * src/GrampsWidgets.py * src/DbManager.py * src/DisplayState.py * src/DisplayModels/_BaseModel.py * src/DisplayModels/_PeopleModel.py * src/GrampsDbUtils/_GrampsDbWriteXML.py * src/gramps_main.py * src/Filters/Rules/_MatchesFilterBase.py * src/ManagedWindow.py pep8 updates. replace ''' with """ for comments * src/GrampsDbUtils/_WriteGedcom.py: doc fixes added support for exportin source, notes and repos that are not linked to other records. 0001707: export to gedcom doesn't include source, if source is the only thing in the db svn: r10051
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
# $Id$
|
||||
# $Id:Relationship.py 9912 2008-01-22 09:17:46Z acraphae $
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -395,16 +395,16 @@ class RelationshipCalculator:
|
||||
pass
|
||||
|
||||
def set_depth(self, depth):
|
||||
''' set how deep relationships must be searched. Input must be an
|
||||
""" set how deep relationships must be searched. Input must be an
|
||||
integer > 0
|
||||
'''
|
||||
"""
|
||||
if not depth == self.depth:
|
||||
self.depth = depth
|
||||
self.dirtymap = True
|
||||
|
||||
def get_depth(self):
|
||||
''' obtain depth of relationship search
|
||||
'''
|
||||
""" obtain depth of relationship search
|
||||
"""
|
||||
return self.depth
|
||||
|
||||
|
||||
@ -877,7 +877,7 @@ class RelationshipCalculator:
|
||||
|
||||
def __apply_filter(self, db, person, rel_str, rel_fam, pmap,
|
||||
depth=1, stoprecursemap=None):
|
||||
'''Typically this method is called recursively in two ways:
|
||||
"""Typically this method is called recursively in two ways:
|
||||
First method is stoprecursemap= None
|
||||
In this case a recursemap is builded by storing all data.
|
||||
|
||||
@ -888,7 +888,7 @@ class RelationshipCalculator:
|
||||
of first contains loops, and parents
|
||||
will be looked up anyway an stored if common. At end the doubles
|
||||
are filtered out
|
||||
'''
|
||||
"""
|
||||
if person == None or not person.handle :
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user