From nobody Mon Feb 9 01:22:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; 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 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1587995080; cv=none; d=zohomail.com; s=zohoarc; b=Z47TeSsptjxPmB3lsfW53uBWyLTIBLSdHHTn98tVPnwJcBMBFmFw5IrNa0oLj/Yp40uhMa6P9aD/VgSEZ8NNbyqU/gKQBVHwAZxxW/fMJbDzGQag4o9yJMgRAgsR4NKCk/cgmzVchLEWm1QHmhaCyeSU0ecvVEwFN7RbFmnY55g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587995080; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=weHpONFjccpnodOGtTKoIQJXJRJbsYNNVOyxY+KpEm8=; b=fsbvXPjAhnFXMd1Ye4iNCQltETb8iF537eV15Z8lU5tkeaxku09a16UPfeNHtbD5pUcWohjsaZbatzg3lfcxJssfVh7NYPnJpxYSAItG9JHwhU0p7v2XfetME3cdy9ChD96Fjy6bK2+3H0O0hjH6Ai6NOI4jbRaQuuNWzEPWENU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1587995080150760.3984228161142; Mon, 27 Apr 2020 06:44:40 -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-178-PlcpOW3rPf2S4yWwkbqc2Q-1; Mon, 27 Apr 2020 09:44:36 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C531E8015CE; Mon, 27 Apr 2020 13:44:30 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 95BFB60C84; Mon, 27 Apr 2020 13:44:30 +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 4F8E8180042D; Mon, 27 Apr 2020 13:44:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03RDiLUd015639 for ; Mon, 27 Apr 2020 09:44:21 -0400 Received: by smtp.corp.redhat.com (Postfix) id EF5A12026D67; Mon, 27 Apr 2020 13:44:20 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EAC3D2026E1C for ; Mon, 27 Apr 2020 13:44:19 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D1A0185A59E for ; Mon, 27 Apr 2020 13:44:19 +0000 (UTC) Received: from mail.univention.de (mail.univention.de [82.198.197.8]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-379-sBm85CyzPLmINVFjtDMU1g-1; Mon, 27 Apr 2020 09:44:15 -0400 Received: from localhost (localhost [127.0.0.1]) by solig.knut.univention.de (Postfix) with ESMTP id AA1688F6B34D for ; Mon, 27 Apr 2020 15:44:14 +0200 (CEST) Received: from mail.univention.de ([127.0.0.1]) by localhost (solig.knut.univention.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VrqgTlfWyfo4; Mon, 27 Apr 2020 15:44:13 +0200 (CEST) Received: from fixa.knut.univention.de (p5B21E6AF.dip0.t-ipconnect.de [91.33.230.175]) by solig.knut.univention.de (Postfix) with ESMTPSA id A7B438F6B328; Mon, 27 Apr 2020 15:44:11 +0200 (CEST) Received: by fixa.knut.univention.de (Postfix, from userid 2260) id 0F7AA161858; Mon, 27 Apr 2020 15:44:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587995078; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=weHpONFjccpnodOGtTKoIQJXJRJbsYNNVOyxY+KpEm8=; b=FDezSZ7Ai7GNTyQH1gUJ6gBjyi/droPJkudV7tIIQrRUc5zheaWihJsT1bjOeMLpdCHkS9 5FQMaS80BbNUuLeg9xquWNqBU/sGqXZo81X4Fy2tJinYqyit5pdg9QmCq6Pd6mac7PyraJ rCYmc44JgzjLG2qsCLS8uMX/y91SBhs= X-MC-Unique: PlcpOW3rPf2S4yWwkbqc2Q-1 X-MC-Unique: sBm85CyzPLmINVFjtDMU1g-1 X-Virus-Scanned: by amavisd-new-2.10.1 (20141025) (Debian) at knut.univention.de From: Philipp Hahn To: libvir-list@redhat.com Subject: [PATCH libvirt-python 1/5] generator: Fix undefined variables file Date: Mon, 27 Apr 2020 15:44:06 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 03RDiLUd015639 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.12 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" Signed-off-by: Philipp Hahn --- generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator.py b/generator.py index 426f007..7f4ae1f 100755 --- a/generator.py +++ b/generator.py @@ -928,7 +928,7 @@ def buildStubs(module, api_xml): parser.close() except IOError: msg =3D sys.exc_info()[1] - print(file, ":", msg) + print(api_xml, ":", msg) sys.exit(1) =20 n =3D len(list(funcs.keys())) @@ -948,7 +948,7 @@ def buildStubs(module, api_xml): parser.close() except IOError: msg =3D sys.exc_info()[1] - print(file, ":", msg) + print(override_api_xml, ":", msg) =20 if not quiet: # XXX: This is not right, same function already in @functions --=20 2.20.1