disambiguate the local report argument name (vs. the similar global name)

svn: r22153
This commit is contained in:
Paul Franklin 2013-05-03 19:13:52 +00:00
parent 2d75b21b9e
commit 9b109884ad

View File

@ -147,7 +147,7 @@ class Printinfo():
This class must first be initialized with set_class_vars This class must first be initialized with set_class_vars
""" """
def __init__(self, doc, database, numbering, showmarriage, showdivorce,\ def __init__(self, doc, database, numbering, showmarriage, showdivorce,\
name_display, locale): name_display, rlocale):
#classes #classes
self._name_display = name_display self._name_display = name_display
self.doc = doc self.doc = doc
@ -156,8 +156,8 @@ class Printinfo():
#variables #variables
self.showmarriage = showmarriage self.showmarriage = showmarriage
self.showdivorce = showdivorce self.showdivorce = showdivorce
self._ = locale.translation.sgettext # needed for English self._ = rlocale.translation.sgettext # needed for English
self._get_date = locale.get_date self._get_date = rlocale.get_date
def __date_place(self,event): def __date_place(self,event):
if event: if event:
@ -260,13 +260,13 @@ class RecurseDown():
objPrint: A Printinfo derived class that prints person objPrint: A Printinfo derived class that prints person
information on the report information on the report
""" """
def __init__(self, max_generations, database, objPrint, showdups, locale): def __init__(self, max_generations, database, objPrint, showdups, rlocale):
self.max_generations = max_generations self.max_generations = max_generations
self.database = database self.database = database
self.objPrint = objPrint self.objPrint = objPrint
self.showdups = showdups self.showdups = showdups
self.person_printed = {} self.person_printed = {}
self._ = locale.translation.sgettext # needed for English self._ = rlocale.translation.sgettext # needed for English
def recurse(self, level, person, curdepth): def recurse(self, level, person, curdepth):