qvm-template: Make pylint happy
This commit is contained in:
parent
161ff01d7d
commit
b9f1d4c633
@ -1016,7 +1016,8 @@ def list_templates(args: argparse.Namespace,
|
|||||||
buildtime, licence, url, summary, description = data
|
buildtime, licence, url, summary, description = data
|
||||||
dlsize = str(dlsize)
|
dlsize = str(dlsize)
|
||||||
buildtime = buildtime.strftime(DATE_FMT)
|
buildtime = buildtime.strftime(DATE_FMT)
|
||||||
install_time = install_time.strftime(DATE_FMT) if install_time else ''
|
install_time = install_time.strftime(DATE_FMT) \
|
||||||
|
if install_time else ''
|
||||||
if replace_newline:
|
if replace_newline:
|
||||||
description = description.replace('\n', '|')
|
description = description.replace('\n', '|')
|
||||||
output.append({
|
output.append({
|
||||||
|
Loading…
Reference in New Issue
Block a user