gramps/src/plugins/textreport
Gerald Britton 8f0582df8a Use built-in functions to replace for loops:
Old code:

for x in y:
  f(x)

New Code:

map(f, y)

Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.


svn: r14135
2010-01-25 17:45:21 +00:00
..
AncestorReport.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
BirthdayReport.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
CustomBookText.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
DescendReport.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
DetAncestralReport.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
DetDescendantReport.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
EndOfLineReport.py Use built-in functions to replace for loops: 2010-01-25 17:45:21 +00:00
FamilyGroup.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
IndivComplete.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
KinshipReport.py Use built-in functions to replace for loops: 2010-01-25 17:45:21 +00:00
Makefile.am 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014 2009-10-24 13:53:20 +00:00
MarkerReport.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
NumberOfAncestorsReport.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
PlaceReport.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
SimpleBookTitle.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
Summary.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
textplugins.gpr.py Fixed svn Id property 2009-12-21 13:43:50 +00:00