From nobody Sat Jul 5 16:18:48 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 152152862287360.83591031579408; Mon, 19 Mar 2018 23:50:22 -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 0888D8124D; Tue, 20 Mar 2018 06:50:21 +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 D23CEC5DAE; Tue, 20 Mar 2018 06:50:20 +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 9B2744CABD; Tue, 20 Mar 2018 06:50:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2K6nvJ4019577 for ; Tue, 20 Mar 2018 02:49:57 -0400 Received: by smtp.corp.redhat.com (Postfix) id 40A045C89A; Tue, 20 Mar 2018 06:49:57 +0000 (UTC) Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 390385C888 for ; Tue, 20 Mar 2018 06:49:56 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) (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 5C1E7356C9 for ; Tue, 20 Mar 2018 06:49:55 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id x82so1276912wmg.1 for ; Mon, 19 Mar 2018 23:49:55 -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.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Mar 2018 23:49:52 -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=EoXYD4m3QRbR0BM89fpEKIsUbbo+S/fQKcZJX7oefvk=; b=X4M81ClwY8r4IHFMjdpWmzKaDzRlt/zMUDLRXQBq3Kl/gL98SXjkX0N/OQA0ci8bNN +XB+aCljrqJx5bWCkcRd2gFEg07esbzslWIRwVX5bRPbnppxwAcXBrNyR5bEH4N3PJUV yL9xRoCrzkkzrSegW211ibuT32lZ/JwFCh+vNM/LVW8Ue1MJ7ngSjKPY8k+dg+GSp/7M Chrv9IrlAF+JZO3XCxUmZfpstC6y2XDKZMK1m9caCL4LBgMXfGiiatzsIbs20PVoIdKL xxDzt6GnsIIHNkTDw19HZ7zuVB8FYbx3DumWUcHNmrsFdK8eUuIO8cZgstid9YiGxQzl pgQg== 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=EoXYD4m3QRbR0BM89fpEKIsUbbo+S/fQKcZJX7oefvk=; b=KKlG/hkWqrfvQx06mJogIvYBQm/0yqEZUwiKRqmXGTRRWvhznpCrsU4w9RIzP+ueRC fDW6Zt4Awk7hH8cGHklniNrW2tCVfmvJtZFiGvef1gwvPp34NCuAlqPB7rJNafXUh/n+ NJwk/GNENigNZo4o5hRnR2UKDH3oHGiaqH2jMk3xlOTqdhqWFA5o5XuAD3QtAE0mBHLY IHUjezEM8elBzbgFg3xII1haB10Fno2ZTjosS5iquLMcLW5gF189cHsClVQrVixP4N/6 hcE+X4KjBGISmNRS+c4qeRRRYlN6qLti2r8zCCEYGsYkEh501jUsuVFT+8RoOo5h5Asr RcuQ== X-Gm-Message-State: AElRT7FrgY1uIlUlg0sb/SQ7WGELPfqzPhS1LcuXJ/l2AO5QQguQp1Kn z/TpEamGduYkFc1KCFvZpDVnVFgA X-Google-Smtp-Source: AG47ELuE5e4YXas8bt1tmsMrb9P1uuNPufEW/uWtBvKQ1CEWzPTjSkOtPY0TYRHzrMNVOUjqgm81mg== X-Received: by 10.28.49.213 with SMTP id x204mr983540wmx.110.1521528593817; Mon, 19 Mar 2018 23:49:53 -0700 (PDT) From: Radostin Stoyanov To: libvir-list@redhat.com Date: Tue, 20 Mar 2018 06:49:04 +0000 Message-Id: <20180320064908.17723-22-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.30]); Tue, 20 Mar 2018 06:49:55 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 20 Mar 2018 06:49:55 +0000 (UTC) for IP:'74.125.82.67' DOMAIN:'mail-wm0-f67.google.com' HELO:'mail-wm0-f67.google.com' FROM:'rstoyanov1@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.12 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.67 mail-wm0-f67.google.com 74.125.82.67 mail-wm0-f67.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: Radostin Stoyanov Subject: [libvirt] [PATCHv2 21/25] apibuild: Use list comprehension insteand of map 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.25]); Tue, 20 Mar 2018 06:50:21 +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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/apibuild.py b/docs/apibuild.py index f073b36c7..98224c7e7 100755 --- a/docs/apibuild.py +++ b/docs/apibuild.py @@ -471,8 +471,7 @@ class CLexer: return None =20 if line[0] =3D=3D '#': - self.tokens =3D list(map((lambda x: ('preproc', x)), - line.split())) + self.tokens =3D [('preproc', word) for word in line.split(= )] =20 # We might have whitespace between the '#' and preproc # macro name, so instead of having a single token element --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list