Merge "Replace concatenation with f-strings"

This commit is contained in:
Zuul 2021-01-13 04:35:09 +00:00 committed by Gerrit Code Review
commit 8795f7bb2b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class HeaderView(object):
self.header = header
def __call__(self, model):
return str(self.header) + "\n" + str(model)
return f'{self.header}\n{model}'
class TitledView(HeaderView):