Преглед на файлове

qvm-template: Make pylint happy

WillyPillow преди 3 години
родител
ревизия
b9f1d4c633
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      qubesadmin/tools/qvm_template.py

+ 2 - 1
qubesadmin/tools/qvm_template.py

@@ -1016,7 +1016,8 @@ def list_templates(args: argparse.Namespace,
                     buildtime, licence, url, summary, description = data
                 dlsize = str(dlsize)
                 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:
                     description = description.replace('\n', '|')
                 output.append({