commit: 62c9856745e5b6de230d4ede5e8d7e9ff226ff73
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 9 20:51:37 2015 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Mon Nov 9 20:51:37 2015 +0000
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=62c98567
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