From nobody Mon May 6 13:52:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.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 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1573641223; cv=none; d=zoho.com; s=zohoarc; b=cWjNP99MYkDIkcwgm0XUSvfETptDt7YSvhRafsS7tAjt06aX2dpzBnROypSQ2HGnIjBJKM+5g6MzIE0prnd7oAhDHIZ1BkRmG+ZX7E6UFCZiY5LSpXEtf3tj9YE6VzUBXZ68IcopNvIW/xQicloLAXtrZ7uLUhiebt4m7lF1i1A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573641223; 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=ir8SNjtWpN/Jn85I4A8pmFL+8UNojJNJ2YI3KJfQ02Q=; b=C+QXOpPox5ysIBVRnCWkgtS56O7nVNsAvDpsJduNl4qM95rXO7MlevTGJHhcD6z22zX9wzhOMJ1L49Pumr0fuPcbpV/F1NEZR7IC6KWPYqKr+kPw0L9HbkBV6WDlRIbUHAulB9zzlY0g2E/3lBba9wpz1eEj4VkSHX6FaG6S9FU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1573641223907707.7595178283946; Wed, 13 Nov 2019 02:33:43 -0800 (PST) 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-59-UnpGPxwcNHCHs4X-y4wf2w-1; Wed, 13 Nov 2019 05:33:40 -0500 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 C6533100726B; Wed, 13 Nov 2019 10:33:35 +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 7387B101F967; Wed, 13 Nov 2019 10:33:35 +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 F34F318089CD; Wed, 13 Nov 2019 10:33:32 +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 xACKnUsZ023489 for ; Tue, 12 Nov 2019 15:49:30 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6167D201E770; Tue, 12 Nov 2019 20:49:30 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5D3AA20316E3 for ; Tue, 12 Nov 2019 20:49:28 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (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 497B780014A for ; Tue, 12 Nov 2019 20:49:28 +0000 (UTC) Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [46.235.227.24]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-100-6f8iHqQEMPmWCxa0QFF8Mg-1; Tue, 12 Nov 2019 15:49:26 -0500 Received: from [199.195.250.187] (port=43013 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 1iUch5-000403-Ar; Tue, 12 Nov 2019 20:23:20 +0000 Received: from liushuyu.lan (unknown [172.22.1.1]) by hermes.aosc.io (Postfix) with ESMTPS id D4AC941A91; Tue, 12 Nov 2019 20:23:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573641222; 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=ir8SNjtWpN/Jn85I4A8pmFL+8UNojJNJ2YI3KJfQ02Q=; b=W/DsHnnOluq1LZs6WEkDpGEkg+8+sXpoG3N/Ow4XV8d6TyEDTi41S9ZHESl2RfuauUiYNC w/+mOXSqMaBwzifn9BP9fGsDuMd+CpZplAlppPPJvbEWrFGOszSYLo3iJcleps8u+KtObM ic9Xw33+J0xOel0wnUXvnjhMnV+HSsI= From: liushuyu To: libvir-list@redhat.com Date: Tue, 12 Nov 2019 13:23:00 -0700 Message-Id: <20191112202300.8041-1-liushuyu011@gmail.com> MIME-Version: 1.0 X-Spamd-Result: default: False [2.40 / 15.00] R_MISSING_CHARSET(2.50)[] BROKEN_CONTENT_TYPE(1.50)[] BAYES_HAM(-2.50)[100.00%] MID_CONTAINS_FROM(1.00)[] TO_DN_ALL(0.00)[] FROM_EQ_ENVFROM(0.00)[] MAILCOW_MOO(0.00)[] FROM_HAS_DN(0.00)[] TO_MATCH_ENVRCPT_ALL(0.00)[] RCPT_COUNT_THREE(0.00)[3] RCVD_COUNT_TWO(0.00)[2] MIME_GOOD(-0.10)[text/plain] X-Rspamd-Server: rspamd X-Rspamd-Scan-Time: 0.12 X-Rspamd-Queue-ID: D4AC941A91 X-BlackCat-Spam-Score: 50 X-Spam-Status: No, score=5.0 X-MC-Unique: 6f8iHqQEMPmWCxa0QFF8Mg-1 X-MC-Unique: UnpGPxwcNHCHs4X-y4wf2w-1 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 xACKnUsZ023489 X-loop: libvir-list@redhat.com X-Mailman-Approved-At: Wed, 13 Nov 2019 05:33:31 -0500 Cc: sahid.ferdjaoui@canonical.com, Zixing Liu Subject: [libvirt] [PATCH Rust v2] 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-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" From: Zixing Liu Signed-off-by: Zixing Liu --- 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.24.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list