remove unnecessary brackets

This commit is contained in:
Christophe Benz 2010-12-08 16:41:08 +01:00 committed by Romain Bignon
commit 3dd50f363d
11 changed files with 13 additions and 12 deletions

View file

@ -433,7 +433,7 @@ class ProfilePage(PageBase):
for key, value in d.items():
key = '%s:' % key
if isinstance(value, list):
body += u'\t\t%-15s %s\n' % (key, u', '.join([unicode(s) for s in value]))
body += u'\t\t%-15s %s\n' % (key, u', '.join(unicode(s) for s in value))
elif isinstance(value, float):
body += u'\t\t%-15s %.2f\n' % (key, value)
else: