Fix type error in "python3 Gramps.py -L"
svn: r21462
This commit is contained in:
parent
5df0c7d3ee
commit
ad20c91b4f
@ -423,8 +423,8 @@ class ArgHandler(object):
|
|||||||
summary_list = self.dbman.family_tree_summary()
|
summary_list = self.dbman.family_tree_summary()
|
||||||
for summary in sorted(summary_list,
|
for summary in sorted(summary_list,
|
||||||
key=lambda sum: sum["Family tree"].lower()):
|
key=lambda sum: sum["Family tree"].lower()):
|
||||||
print(_("Family Tree \"%s\":").\
|
print(_("Family Tree \"%s\":") % summary["Family tree"].\
|
||||||
encode(sys.stdout.encoding, 'backslashreplace') % summary["Family tree"])
|
encode(sys.stdout.encoding, 'backslashreplace'))
|
||||||
for item in sorted(summary):
|
for item in sorted(summary):
|
||||||
if item != "Family tree":
|
if item != "Family tree":
|
||||||
print((" %s: %s" % (item, summary[item])).\
|
print((" %s: %s" % (item, summary[item])).\
|
||||||
|
Loading…
Reference in New Issue
Block a user