From nobody Mon Feb 9 12:40:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1572690389; cv=none; d=zoho.com; s=zohoarc; b=AQxce459LJMY33hQUIloRWEAxPhreY/scdRGBsEXAKUJOFs3Rv0w8eySTkyAVIgO7voYvWOaOO+8gprBOM3sx8jv/bXUH8/5bNApZnCzQb4dsuQBPpZEMeTPjPq1GkRwq7FhzKWGsns6RnUJghRBbAfDCfTKAhWXXhdCTsLeQBE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1572690389; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=uv2ySdMVXrA/CaCPAG5hzZtzQ7p4H7qvfVkGumoHFSM=; b=htBcO7JYhI3VyxRwvb+tPD20yac/xObnVI4l0Vu6vPgT839e89CWB+T2tNFGO2q3c2eS+vF6s/kfjIPx8YVyphbG8VQw2oZVQSVScvlYY0k+3TA92grgjNxmF2HuKkyVb2hcRGuRg8GIyMMvuPkcz1GkePPJZKVKf6MMHSbb90Y= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1572690389322665.5832135147843; Sat, 2 Nov 2019 03:26:29 -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-314-XjUc49sOMUOzePQakYuLDg-1; Sat, 02 Nov 2019 06:26:26 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7E88980B728; Sat, 2 Nov 2019 10:26: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 599B45D9E2; Sat, 2 Nov 2019 10:26:21 +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 1A25A4E56F; Sat, 2 Nov 2019 10:26:21 +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 xA1KJZVD008592 for ; Fri, 1 Nov 2019 16:19:36 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7B4135C28E; Fri, 1 Nov 2019 20:19:35 +0000 (UTC) Received: from mx1.redhat.com (ext-mx28.extmail.prod.ext.phx2.redhat.com [10.5.110.69]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 768615C28C for ; Fri, 1 Nov 2019 20:19:32 +0000 (UTC) Received: from haggis.mythic-beasts.com (haggis.mythic-beasts.com [46.235.224.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D61EE80C111 for ; Fri, 1 Nov 2019 20:19:30 +0000 (UTC) Received: from [199.195.250.187] (port=53305 helo=hermes.aosc.io) by haggis.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iQdOL-0003Ow-0R; Fri, 01 Nov 2019 20:19:29 +0000 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: liushuyu@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 723B740D8F; Fri, 1 Nov 2019 20:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572690388; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=uv2ySdMVXrA/CaCPAG5hzZtzQ7p4H7qvfVkGumoHFSM=; b=OOY1GlpV+J9CXxgM7chY39Fa6tO76YpaOtqDpqD0EVTIEtWRmryJYMdDrQ5Cbddq+fiw9D vgEKZX2wPhxhYA2yFrGwplyaVaARBVWUp4kI2SS1DhXf7IX3sYmHYJR3Z/AEwNs5LK7Vw7 CUbJuTng8CFvSdLI37xBzXcquuw3Zqw= From: liushuyu@aosc.io To: libvir-list@redhat.com Date: Fri, 1 Nov 2019 14:19:18 -0600 Message-Id: <20191101201918.216491-1-liushuyu@aosc.io> MIME-Version: 1.0 X-BlackCat-Spam-Score: 50 X-Spam-Status: No, score=5.0 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 238 matched, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.69]); Fri, 01 Nov 2019 20:19:31 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.69]); Fri, 01 Nov 2019 20:19:31 +0000 (UTC) for IP:'46.235.224.141' DOMAIN:'haggis.mythic-beasts.com' HELO:'haggis.mythic-beasts.com' FROM:'liushuyu@aosc.io' RCPT:'' X-RedHat-Spam-Score: -2.302 (RCVD_IN_DNSWL_MED, SPF_HELO_PASS, SPF_PASS) 46.235.224.141 haggis.mythic-beasts.com 46.235.224.141 haggis.mythic-beasts.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.69 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com X-Mailman-Approved-At: Sat, 02 Nov 2019 06:25:47 -0400 Cc: sahid.ferdjaoui@canonical.com, liushuyu Subject: [libvirt] [PATCH Rust] api_tests.py: update to use Python 3 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.14 X-MC-Unique: XjUc49sOMUOzePQakYuLDg-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" From: liushuyu --- tools/api_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/api_tests.py b/tools/api_tests.py index b26ec34..9e66c92 100644 --- a/tools/api_tests.py +++ b/tools/api_tests.py @@ -47,10 +47,10 @@ def main(): else: missing.add(el) =20 - print "missing: %s, implemented: %s" % (len(missing), len(implemented)) - print "missing:" + print("missing: %s, implemented: %s" % (len(missing), len(implemented)= )) + print("missing:") for x in missing: - print x.attrib + print(x.attrib) #print "implemented:" #for x in implemented: # print x.attrib --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list