From nobody Fri Apr 26 00:23:27 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=1572690385; cv=none; d=zoho.com; s=zohoarc; b=N7isrUqT/4b1EzuREaYNUinElnjaKC53jJv/D6wDJ5ch4YKF8pOXEFQ3mMQ7U0F+oM1OG5ndW0ISkRgGriI+5MLf9HkKmNezXlK2g6pAnbw2LnZkcC7XrVtTbmKjb/SWFPmSdnGARiyROH6JSgUIfZPT2KDH4buXi4qTwa6ReFk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1572690385; 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=uNtbAuwFlMqQ/9wxzM8EayhAatG7L+uuOqZtAw/tZgw=; b=oOvjjeQDnMhhErP9zC6l1JY/5HrQOJzwOIyovQ9mpFXvzs+cRfebg2b9jGllVU4hxzEe0ClBVjRVjVCns7H/UpdSQZbyeP7eRFxISwizl9Ah7c2z6HmpSJL25DtNpFCJHZp3CEVBYnC2uNtBpB87PKvyVABEYztcMnP6BYzSzuM= 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 1572690385763826.0619359902613; Sat, 2 Nov 2019 03:26:25 -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-4-cwP9BCxeOFanpfC49JlHfg-1; Sat, 02 Nov 2019 06:26:22 -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 C3A951804974; Sat, 2 Nov 2019 10:26:17 +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 9819E60C05; 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 57B8A18089D7; Sat, 2 Nov 2019 10:26:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xA1KNZXn009128 for ; Fri, 1 Nov 2019 16:23:35 -0400 Received: by smtp.corp.redhat.com (Postfix) id 56B961001B2B; Fri, 1 Nov 2019 20:23:35 +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 522101001B23 for ; Fri, 1 Nov 2019 20:23:32 +0000 (UTC) Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [46.235.227.24]) (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 EDE47308421A for ; Fri, 1 Nov 2019 20:23:31 +0000 (UTC) Received: from [199.195.250.187] (port=38112 helo=hermes.aosc.io) by balrog.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iQdSA-0001KZ-3u; Fri, 01 Nov 2019 20:23:30 +0000 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: liushuyu@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 6709F40D94; Fri, 1 Nov 2019 20:23:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572690384; 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=uNtbAuwFlMqQ/9wxzM8EayhAatG7L+uuOqZtAw/tZgw=; b=dM5vw20AFEgQL9DO7SUA4EG9mc5sSrUEMcXR51YzPl44AP0Lv1GFKXYJmjF8ttMKYJl8VA tuxt/7OBPZKUmoq33WRyoEOEylKzl1iBQCcq0X7VcWAOIjbt6uMLImdJnjaT5H/sDi0bR/ kgb7VPkmeTAxryNlq5RR5ZufNbFOQco= From: liushuyu To: libvir-list@redhat.com Date: Fri, 01 Nov 2019 14:23:20 -0600 Message-ID: <5023730.AFvTtN9KG0@liushuyu> MIME-Version: 1.0 X-BlackCat-Spam-Score: 9 X-Spam-Status: No, score=0.9 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:23:32 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Fri, 01 Nov 2019 20:23:32 +0000 (UTC) for IP:'46.235.227.24' DOMAIN:'balrog.mythic-beasts.com' HELO:'balrog.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.227.24 balrog.mythic-beasts.com 46.235.227.24 balrog.mythic-beasts.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.40 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com X-Mailman-Approved-At: Sat, 02 Nov 2019 06:25:47 -0400 Cc: sahid.ferdjaoui@canonical.com 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.12 X-MC-Unique: cwP9BCxeOFanpfC49JlHfg-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