From ad20c91b4f5faca6e458445cda1399590f50dc7e Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Tue, 26 Feb 2013 17:28:41 +0000 Subject: [PATCH] Fix type error in "python3 Gramps.py -L" svn: r21462 --- gramps/cli/arghandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/cli/arghandler.py b/gramps/cli/arghandler.py index d04b65a85..a7b6773d0 100644 --- a/gramps/cli/arghandler.py +++ b/gramps/cli/arghandler.py @@ -423,8 +423,8 @@ class ArgHandler(object): summary_list = self.dbman.family_tree_summary() for summary in sorted(summary_list, key=lambda sum: sum["Family tree"].lower()): - print(_("Family Tree \"%s\":").\ - encode(sys.stdout.encoding, 'backslashreplace') % summary["Family tree"]) + print(_("Family Tree \"%s\":") % summary["Family tree"].\ + encode(sys.stdout.encoding, 'backslashreplace')) for item in sorted(summary): if item != "Family tree": print((" %s: %s" % (item, summary[item])).\