From nobody Mon Jul 7 04:45:49 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 152152860624165.85825389896092; Mon, 19 Mar 2018 23:50:06 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 054994ACA4; Tue, 20 Mar 2018 06:50:05 +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 CE7F35C545; Tue, 20 Mar 2018 06:50:04 +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 361154CAA8; Tue, 20 Mar 2018 06:50:02 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2K6nXB1019392 for ; Tue, 20 Mar 2018 02:49:33 -0400 Received: by smtp.corp.redhat.com (Postfix) id A6662D1E4; Tue, 20 Mar 2018 06:49:33 +0000 (UTC) Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A0F1C6065F for ; Tue, 20 Mar 2018 06:49:31 +0000 (UTC) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 378B323E6C1 for ; Tue, 20 Mar 2018 06:49:30 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id z8so458980wrh.7 for ; Mon, 19 Mar 2018 23:49:30 -0700 (PDT) Received: from rst.Home ([2a02:c7d:692a:c500:1ebc:73f3:5f60:b131]) by smtp.gmail.com with ESMTPSA id g38sm1923269wra.77.2018.03.19.23.49.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Mar 2018 23:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QmMGc5YmIPWpNQ4ll/33YCJIFJBRZ+YcpiNOT+kQR34=; b=VGBgq7GxKesY55PBEqWESjhroWWiL3iA/rBygtDIJk+wwq/8p84lJQlAWCe8sv+0wh CMrropdK0201r89sEQXba9rPCaoPlw+Bhvmpm+u13D0LTRh0qCsburtg7hJwIZYd81am yhi9AHJf24t5qBdDeT5gSI+0H6gAKQQ8X4KDTK7hm0Di1WyDTvS+Lg9fPOv558CPVW8p QZpxrcxnkCTb3dFjEcsBdPFMZea9sJQ8WIIYYfME/TWqp5703pa7q5846NkKh8fXoWeS 1PYpOhqC+7I2y0H594NgExSmTdbtAZOPg7K2EkkzFrmkjN5qy9cSdS306zBTqZTbJQlf LAUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QmMGc5YmIPWpNQ4ll/33YCJIFJBRZ+YcpiNOT+kQR34=; b=sPgPW/KylgmOfZ3v2xPOj3fM5AeSzC0pEWbVD2AUC7KJjwMYHvA9tXpecbMEi4HGfQ 3kGI7CVNT58Q/VHIQ6fWP7fxoU9Ds/9N1O4mvjlzmzKERLS+UTPf/mLFR65g0yKhPL6k g4A8aOZNqtky9lnlccOaT34ztwP0o6gp+mKZ50TsULzLIZaw0yo5APw77oz4s1OdM1cp tadULs2RFOFRltL/PGCeclf71dazieqxpnGjD+iY10c7ptEyMStotKDm05t60Lxv5KpF YsdDfcNjO3Lq2UmpeHRrca7lXmUkOyHafzmhiqQpxSzz4KuVdZPSSjDzMyLq4zgaUASr sZUQ== X-Gm-Message-State: AElRT7HJfR4D+Gn5dr7yTfxKMuiR1HuBKgQNZecB7POzEBN8yLB0LR66 8lFmH9qY98oCvHm1DXIvmlnrEofk X-Google-Smtp-Source: AG47ELt7ehKrtT0enGXbsu659jh8/cV/oATIhzXEYCst3HtDgs567AQaCK63m8+IaAHMrVFfFB2Azw== X-Received: by 10.223.174.2 with SMTP id x2mr12513040wrc.211.1521528568551; Mon, 19 Mar 2018 23:49:28 -0700 (PDT) From: Radostin Stoyanov To: libvir-list@redhat.com Date: Tue, 20 Mar 2018 06:48:47 +0000 Message-Id: <20180320064908.17723-5-rstoyanov1@gmail.com> In-Reply-To: <20180320064908.17723-1-rstoyanov1@gmail.com> References: <20180320064908.17723-1-rstoyanov1@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 20 Mar 2018 06:49:30 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 20 Mar 2018 06:49:30 +0000 (UTC) for IP:'209.85.128.196' DOMAIN:'mail-wr0-f196.google.com' HELO:'mail-wr0-f196.google.com' FROM:'rstoyanov1@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.139 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS) 209.85.128.196 mail-wr0-f196.google.com 209.85.128.196 mail-wr0-f196.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.29 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: Radostin Stoyanov Subject: [libvirt] [PATCHv2 04/25] python: Add whitespace around = and % operators 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 20 Mar 2018 06:50:05 +0000 (UTC) X-ZohoMail-DKIM: fail (Computed bodyhash is different from the expected one) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Radostin Stoyanov --- docs/apibuild.py | 18 +++++++++--------- docs/index.py | 6 +++--- tests/cputestdata/cpu-cpuid.py | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/apibuild.py b/docs/apibuild.py index 73a7535db..a11c2d145 100755 --- a/docs/apibuild.py +++ b/docs/apibuild.py @@ -15,10 +15,10 @@ import sys import glob import re =20 -quiet=3DTrue -warnings=3D0 -debug=3DFalse -debugsym=3DNone +quiet =3D True +warnings =3D 0 +debug =3D False +debugsym =3D None =20 # # C parser analysis code @@ -132,7 +132,7 @@ def escape(raw): def uniq(items): d =3D {} for item in items: - d[item]=3D1 + d[item] =3D 1 k =3D sorted(d.keys()) return k =20 @@ -1408,7 +1408,7 @@ class CParser: value =3D "%d" % (int(value) + 1) except: self.warning("Failed to compute value of enum %s" = % (name)) - value=3D"" + value =3D "" if token[0] =3D=3D "sep" and token[1] =3D=3D ",": if commentsBeforeVal: self.cleanupComment() @@ -2286,7 +2286,7 @@ class docBuilder: if apstr !=3D "": apstr =3D apstr + " && " apstr =3D apstr + cond - output.write(" %s\n"% (apstr)) + output.write(" %s\n" % (apstr)) try: (ret, params, desc) =3D id.info output.write(" \n" % (desc)) @@ -2479,7 +2479,7 @@ class docBuilder: output.write(" \n") output.write(" \n") count =3D 0 - chunks.append(["chunk%s" % (chunk -1), first_lette= r, letter]) + chunks.append(["chunk%s" % (chunk - 1), first_lett= er, letter]) output.write(" \n" % (chunk= )) first_letter =3D id[0] chunk =3D chunk + 1 @@ -2502,7 +2502,7 @@ class docBuilder: output.write(" \n") output.write(" \n") if count !=3D 0: - chunks.append(["chunk%s" % (chunk -1), first_letter, lette= r]) + chunks.append(["chunk%s" % (chunk - 1), first_letter, lett= er]) output.write(" \n") for ch in chunks: output.write(" \n" % ( diff --git a/docs/index.py b/docs/index.py index e2f9185c3..5224324b1 100755 --- a/docs/index.py +++ b/docs/index.py @@ -58,7 +58,7 @@ libxml2.registerErrorHandler(callback, None) # The dictionary of tables required and the SQL command needed # to create them # -TABLES=3D{ +TABLES =3D { "symbols": """CREATE TABLE symbols ( name varchar(255) BINARY NOT NULL, module varchar(255) BINARY NOT NULL, @@ -116,8 +116,8 @@ TABLES=3D{ # # The XML API description file to parse # -API=3D"libvirt-api.xml" -DB=3DNone +API =3D "libvirt-api.xml" +DB =3D None =20 ######################################################################### # # diff --git a/tests/cputestdata/cpu-cpuid.py b/tests/cputestdata/cpu-cpuid.py index b74c3ce93..43c92731a 100755 --- a/tests/cputestdata/cpu-cpuid.py +++ b/tests/cputestdata/cpu-cpuid.py @@ -325,7 +325,7 @@ def formatCpuid(cpuid, path, comment): line =3D (" \n") - f.write(line %( + f.write(line % ( in_eax, in_ecx, leaf["eax"], leaf["ebx"], leaf["ecx"], leaf["edx"]= )) f.write("\n") --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list