From 856e60f235baf1ad8b0d7c311fe742199f9d7722 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 29 Oct 2006 05:49:50 +0000 Subject: [PATCH] * src/Makefile.am (docmodules): Update. * src/Filters/Rules/Family/_MemberBase.py: Formatting fixes. * src/ReportBase/_ReportUtils.py: Formatting fixes. svn: r7482 --- gramps2/ChangeLog | 3 +++ gramps2/src/Filters/Rules/Family/_MemberBase.py | 8 ++++---- gramps2/src/Makefile.am | 2 +- gramps2/src/ReportBase/_ReportUtils.py | 6 +++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 0bfc7684e..f235ddc39 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,7 @@ 2006-10-28 Alex Roitman + * 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. diff --git a/gramps2/src/Filters/Rules/Family/_MemberBase.py b/gramps2/src/Filters/Rules/Family/_MemberBase.py index 9fdab2282..4b61444bd 100644 --- a/gramps2/src/Filters/Rules/Family/_MemberBase.py +++ b/gramps2/src/Filters/Rules/Family/_MemberBase.py @@ -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): diff --git a/gramps2/src/Makefile.am b/gramps2/src/Makefile.am index 9da62fac6..12231fbd7 100644 --- a/gramps2/src/Makefile.am +++ b/gramps2/src/Makefile.am @@ -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 \ diff --git a/gramps2/src/ReportBase/_ReportUtils.py b/gramps2/src/ReportBase/_ReportUtils.py index d50887fb6..889076cf9 100644 --- a/gramps2/src/ReportBase/_ReportUtils.py +++ b/gramps2/src/ReportBase/_ReportUtils.py @@ -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