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