From nobody Sat May 4 07:58:14 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.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 (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1577980075; cv=none; d=zohomail.com; s=zohoarc; b=d9BAjKpuW8jQSthtORK/camUi0kMZJNU9iMv0GvrevPerJ9qjrGWjXfXj8xfo7ZQra3n0ajrq3U3ZBGEe7RM/970SHQ9b/APS/AR5AYYTNzedIIBc6KCKUElCNTab+njzJXwUDW4U9xsCiQ5ri/gTZi//Ama5/Mvqqpb1h6tlvA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1577980075; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=w6rggj/2yEqE1tSqatrc/g/k2p/IF1GOUPEcGNE8CoI=; b=UDwIXm6d6QlrscfVtVbjP4goQmarjwhfJHDkgLXyJRr05OF8Oc/5LpPxtB0g/TxaL/Fu/5LbQXiZN7d0l5O4+t/ZVCZZr72KqFRvMlZc6JfOjgUL3XN++468ezG3EQgEp0M2yHNLLvtwWH8VKWFh3nW7qz3rC0Rbz9BXcfzgpgA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass 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 1577980075237333.42223068369753; Thu, 2 Jan 2020 07:47:55 -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-239-PA2y2dp-Ma24ZfCK3Fxj7Q-1; Thu, 02 Jan 2020 10:47:52 -0500 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 52A3A801E76; Thu, 2 Jan 2020 15:47:44 +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 C9E975D9C9; Thu, 2 Jan 2020 15:47:42 +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 3910881E1F; Thu, 2 Jan 2020 15:47:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 002Flc3n013877 for ; Thu, 2 Jan 2020 10:47:38 -0500 Received: by smtp.corp.redhat.com (Postfix) id AD78A5DA2C; Thu, 2 Jan 2020 15:47:38 +0000 (UTC) Received: from domokun.gsslab.fab.redhat.com (dhcp-46.gsslab.fab.redhat.com [10.33.9.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1D2765D9C9; Thu, 2 Jan 2020 15:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1577980074; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=w6rggj/2yEqE1tSqatrc/g/k2p/IF1GOUPEcGNE8CoI=; b=Q92HdihKB3Id+rLpbybCxOoMleKibNf9WJtMwpf2bd9udf7PIw3jRc7Hx+EcF7647ZXDdv p9fW8mEA7gEUzjQpwi5VAHR/Ph6SJZKT0ja39xnfAH8Ft+4Oaz/Qzs8h6Azoq6HeKwOZwc NVxQLzQYsjg4n4chBjZddf3genCa6Mk= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Thu, 2 Jan 2020 15:47:31 +0000 Message-Id: <20200102154731.159157-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] fix class type instantiated when listing network ports 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: PA2y2dp-Ma24ZfCK3Fxj7Q-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety --- libvirt-override-virNetwork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt-override-virNetwork.py b/libvirt-override-virNetwork.py index 749ee44..4245322 100644 --- a/libvirt-override-virNetwork.py +++ b/libvirt-override-virNetwork.py @@ -6,6 +6,6 @@ =20 retlist =3D list() for domptr in ret: - retlist.append(virNetwork(self, _obj=3Ddomptr)) + retlist.append(virNetworkPort(self, _obj=3Ddomptr)) =20 return retlist --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list