From nobody Wed May 8 04:15:30 2024 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=S0Dd/sYiuG4A6YF4+dJsWV1+Tmt2dnx/XEvWu/NxPNREC0oP9zsK5+tRSK9dgM6Tl2T1jYPdnr5Ngvpj1VQ8rV77T5Zo29hU0jHVSZzFvF7HzHiAyCxwPV98QLD1rB8in44n8z4Rob2tHgxvbxX4dbWwBVt0vNnRBlvgnnSV+DE= 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=N3FUydFAQoLgIeiPLobI90X9Zr+kMcsBuSxZfL+L3fXOocSqlbcnWfM8UeJ2NJPQ1uIhPk/LrERgPrXslm537acPemAapeeezXlwwoZuaQYGwMmqTnsSiEjK+ywgW+T/Dh/5aum+ivnuKph8IULSqiZ++N9Lm+Zc+MD3b8PjWB4= 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 1572690389011622.0642129546437; 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-82-nmSJRWZZMdOD4InvV3rs1g-1; Sat, 02 Nov 2019 06:26:25 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DC2CA85B6F7; Sat, 2 Nov 2019 10:26:17 +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 B265D1001B34; Sat, 2 Nov 2019 10:26:17 +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 6D9BB4E56C; Sat, 2 Nov 2019 10:26:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xA1KC7aa007832 for ; Fri, 1 Nov 2019 16:12:07 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8A52260BFB; Fri, 1 Nov 2019 20:12:07 +0000 (UTC) Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.40]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 84D4760BEC for ; Fri, 1 Nov 2019 20:12:05 +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 EAA9E3084242 for ; Fri, 1 Nov 2019 20:12:03 +0000 (UTC) Received: from [199.195.250.187] (port=52937 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 1iQdH7-0001tf-SX; Fri, 01 Nov 2019 20:12:02 +0000 Received: from liushuyu.lan (unknown [172.22.1.1]) by hermes.aosc.io (Postfix) with ESMTPS id ED17340D8E; Fri, 1 Nov 2019 20:11:58 +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=bqdPaEVr8kZSefgmsoj3a5zlSbcYSGrrmga5L7Mf3avHXQYGe0UUaFEmVjjfsTQDG+LULt 03plVvWtN25DEwxDX3Ze72p9LiE95TVLIs5Rzzt9P1NQTocpesvYUmSSIcl536e6rsPYYR DiQi0/Fy4AXO85gcSIAl8NpFd9xiZVw= From: liushuyu@aosc.io To: libvir-list@redhat.com Date: Fri, 1 Nov 2019 14:11:55 -0600 Message-Id: <20191101201155.215264-1-liushuyu@aosc.io> MIME-Version: 1.0 X-Spamd-Result: default: False [4.89 / 15.00] R_MISSING_CHARSET(2.50)[] BROKEN_CONTENT_TYPE(1.50)[] FROM_HAS_DN(0.00)[] TO_DN_ALL(0.00)[] MIME_GOOD(-0.10)[text/plain] RCVD_COUNT_TWO(0.00)[2] BAYES_HAM(-0.01)[52.03%] MID_CONTAINS_FROM(1.00)[] MAILCOW_MOO(0.00)[] FROM_EQ_ENVFROM(0.00)[] TO_MATCH_ENVRCPT_ALL(0.00)[] RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Server: rspamd X-Rspamd-Scan-Time: 0.01 X-Rspamd-Queue-ID: ED17340D8E 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.5.16 (mx1.redhat.com [10.5.110.40]); Fri, 01 Nov 2019 20:12:04 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Fri, 01 Nov 2019 20:12:04 +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.40 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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.84 on 10.5.11.22 X-MC-Unique: nmSJRWZZMdOD4InvV3rs1g-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