From nobody Sat May 4 02:02:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1588268532; cv=none; d=zohomail.com; s=zohoarc; b=Hgme+1qBzPD/6CDrLSyTk9XpglDxoKyfPsXTH8kONWnK4nSjRal+nLTyOXWUuua49HVTuOzUGvLZSgVvb7v/PNaQVPQiVSIfHI5ikDbIfHAZSuBOtMqjO6lxzqG37+C0ClVRPvhGlm1jsV7SVf+LxitvfsSs2+Ni5vyWSBAceW4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588268532; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=hedRc2YdfVaJ97MFNAv6/iDAzQNg0Silv7PYiAusN54=; b=AYAVd7cL8Ym1ld+A6ZNLycaaBuyEsu0aYKN0TP0ZWH4bykdV2njMMFbgRwyJuLYuJDOIAPtgyqMnTMJM43e3WqelWVsfQCVYHK1EKv6uGHK5Tk7YqY3dbzBJVXQ6ltItpB5S7x+qUE8kMlt3RMtIQZuPaA4UbymumNlh9ploNNI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1588268532433244.33971329152155; Thu, 30 Apr 2020 10:42:12 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-227-DDtZ7S-MMHeFPRfMg_dfjQ-1; Thu, 30 Apr 2020 13:42:08 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A3174835B43; Thu, 30 Apr 2020 17:42:02 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6E5715887F; Thu, 30 Apr 2020 17:42:00 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id D1D8B4CAA0; Thu, 30 Apr 2020 17:41:59 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03UHfvks013234 for ; Thu, 30 Apr 2020 13:41:57 -0400 Received: by smtp.corp.redhat.com (Postfix) id AA8DC6A030; Thu, 30 Apr 2020 17:41:57 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.194.210]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B8FF16918A for ; Thu, 30 Apr 2020 17:41:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588268531; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=hedRc2YdfVaJ97MFNAv6/iDAzQNg0Silv7PYiAusN54=; b=h5onaL6JM5gyZorTYwm69h/OGO/3YOz81kS6ntaToJUsjSjbHP8SMS9aTg4h6SFz2HdroN rYlQumocZ+6zNfjs9sisaD0rHHDFBx6a6hp+hSy81pI55yxCq+nZdKLa8Wyi5Q5FtYx7mq 5p9ehBcopETeJ2XDXRA3GxcCWn/9zy0= X-MC-Unique: DDtZ7S-MMHeFPRfMg_dfjQ-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt-ci PATCH] lcitool: Calculate pkg_align properly Date: Thu, 30 Apr 2020 19:41:50 +0200 Message-Id: <20200430174150.100257-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" 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 --- 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] =20 - pkg_align =3D " \\\n" + (" " * len("RUN " + facts["packaging"]["fo= rmat"] + " ")) + pkg_align =3D " \\\n" + (" " * len("RUN " + facts["packaging"]["co= mmand"] + " ")) pip_pkg_align =3D " \\\n" + (" " * len("RUN pip3 ")) =20 varmap =3D {} --=20 2.25.4