From 62c9856745e5b6de230d4ede5e8d7e9ff226ff73 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Mon, 9 Nov 2015 12:51:37 -0800 Subject: equery/meta.py: Re-add the coma, so it makes the data a true tuple. As pointed out by Arfrever Frehtes Taifersar Arahesis, this prides protection in that if the variable's data is a tuple. The conversion will still happen correctly. --- pym/gentoolkit/equery/meta.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/gentoolkit/equery/meta.py b/pym/gentoolkit/equery/meta.py index 8af5744..ea1c96a 100644 --- a/pym/gentoolkit/equery/meta.py +++ b/pym/gentoolkit/equery/meta.py @@ -181,9 +181,9 @@ def format_maintainers(maints): for maint in maints: maintstr = maint.email or '' if CONFIG['verbose']: - maintstr += " (%s)" % (maint.name) if maint.name else '' - maintstr += " - %s" % (maint.restrict) if maint.restrict else '' - maintstr += "\n%s" % (maint.description) if maint.description else '' + maintstr += " (%s)" % (maint.name,) if maint.name else '' + maintstr += " - %s" % (maint.restrict,) if maint.restrict else '' + maintstr += "\n%s" % (maint.description,) if maint.description else '' result.append(maintstr) return result -- cgit v1.2.3