[libvirt-ci PATCH] lcitool: Calculate pkg_align properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In one instance, the alignment was incorrectly based on the name
of the packaging format rather than that of the packaging command.

Fixes: 6c6ed1b925a03ed4223231a932a85668ba4bf8d8
Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
Pushed as trivial.

 guests/lcitool | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guests/lcitool b/guests/lcitool
index abc87d2..ab3b95f 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -817,7 +817,7 @@ class Application:
                     if cross_pkgs[package] is None:
                         del cross_pkgs[package]
 
-        pkg_align = " \\\n" + (" " * len("RUN " + facts["packaging"]["format"] + " "))
+        pkg_align = " \\\n" + (" " * len("RUN " + facts["packaging"]["command"] + " "))
         pip_pkg_align = " \\\n" + (" " * len("RUN pip3 "))
 
         varmap = {}
-- 
2.25.4





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux