* src/Makefile.am (docmodules): Update.
* src/Filters/Rules/Family/_MemberBase.py: Formatting fixes. * src/ReportBase/_ReportUtils.py: Formatting fixes. svn: r7482
This commit is contained in:
parent
b9f2392f29
commit
f7b943fe26
@ -1,4 +1,7 @@
|
||||
2006-10-28 Alex Roitman <shura@gramps-project.org>
|
||||
* src/Makefile.am (docmodules): Update.
|
||||
* src/Filters/Rules/Family/_MemberBase.py: Formatting fixes.
|
||||
* src/ReportBase/_ReportUtils.py: Formatting fixes.
|
||||
* src/GrampsDb/_ReadGedcom.py: Formatting fixes.
|
||||
* src/GrampsDb/_GrampsDbBase.py: Formatting fixes.
|
||||
* src/GrampsDb/_GrampsDbFactories.py: Formatting fixes.
|
||||
|
@ -25,12 +25,12 @@ Set of wrappers for family filter rules based on personal rules.
|
||||
|
||||
Any rule that matches family based on personal rule applied
|
||||
to father, mather, or any child, just needs to do two things:
|
||||
1. Set the class attribute 'base_class' to the personal rule
|
||||
2. Set apply method to be an appropriate wrapper below
|
||||
> Set the class attribute 'base_class' to the personal rule
|
||||
> Set apply method to be an appropriate wrapper below
|
||||
Example:
|
||||
in the class body, outside any method:
|
||||
base_class = SearchName
|
||||
apply = child_base
|
||||
> base_class = SearchName
|
||||
> apply = child_base
|
||||
"""
|
||||
|
||||
def father_base(self,db,family):
|
||||
|
@ -79,7 +79,7 @@ gdir_PYTHON = \
|
||||
MOSTLYCLEANFILES = *pyc *pyo
|
||||
|
||||
# Which modules to document
|
||||
docmodules = RelLib DateHandler GrampsDb Filters BaseDoc
|
||||
docmodules = RelLib DateHandler GrampsDb Filters ReportBase
|
||||
|
||||
pycheck:
|
||||
for d in $(SUBDIRS) ; do \
|
||||
|
@ -1076,7 +1076,7 @@ def sanitize_list(obj_list,exclude_private):
|
||||
@type obj_list: list
|
||||
@param exclude_private: indicates if objects marked private
|
||||
are eliminated from the list
|
||||
@type obj_list: bool
|
||||
@type exclude_private: bool
|
||||
@returns: objects that match the privacy request
|
||||
@rtype: list
|
||||
"""
|
||||
@ -1564,7 +1564,7 @@ def married_str(database,person,spouse,event,endnotes=None,
|
||||
birth and death events.
|
||||
|
||||
@param database: GRAMPS database to which the Person object belongs
|
||||
@type db: GrampsDbBase
|
||||
@type database: GrampsDbBase
|
||||
@param person: Person instance whose marriage is discussed
|
||||
@type person: Person
|
||||
@param spouse: Person instance to use as a spouse
|
||||
@ -1651,7 +1651,7 @@ def married_rel_str(database,person,family,is_first=True):
|
||||
birth and death events.
|
||||
|
||||
@param database: GRAMPS database to which the Person object belongs
|
||||
@type db: GrampsDbBase
|
||||
@type database: GrampsDbBase
|
||||
@param person: Person instance whose marriage is discussed
|
||||
@type person: Person
|
||||
@param family: Family instance whose marriage is discussed
|
||||
|
Loading…
Reference in New Issue
Block a user