From nobody Mon Feb 9 16:02:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558341164; cv=none; d=zoho.com; s=zohoarc; b=dAVu77zFEW4DTYAfPRghp8N1jhHGJunoIMf+sdDKYuMb7fO0XtbCAi+c+33bhQWkuhRzXoDl9qHcGaejRqnaCTY9ipx2FOGqQWdUnijBMHAFZg1Teo9v0fZbXqL74iM8jz20fFY9eOyROFjGhv9/nGTtUToQKnMnwpCc2fRAs2w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558341164; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=2naPe3vycEqE5hh7aE6faMHMW+h2ZsjUDKEoWSrM4C4=; b=Fv7qUudpdfkAmRuXBCriJABK+SDLW+n8tzFD3x0BU13gFH2o7nVAy0Ap0El4ERGyG/jUDVqgxJ8aAjb2pTAF6OV0Y8IwZHtczxvVTgAPeLNpU9t8649o2X3bp6wk5S0a+CDGJ0B4+l8+lWmmZolkJ/I7YraM0S4RML8RKTOehY8= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558341164742718.1879656244826; Mon, 20 May 2019 01:32:44 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 582E6C13070F; Mon, 20 May 2019 08:32:41 +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 25898176B3; Mon, 20 May 2019 08:32:41 +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 C8B401833010; Mon, 20 May 2019 08:32:40 +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 x4K8WFFa012587 for ; Mon, 20 May 2019 04:32:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id EA3D41001E73; Mon, 20 May 2019 08:32:15 +0000 (UTC) Received: from laerte.brq.redhat.com (unknown [10.43.2.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4B157100200D; Mon, 20 May 2019 08:32:15 +0000 (UTC) From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= To: libvir-list@redhat.com Date: Mon, 20 May 2019 10:31:54 +0200 Message-Id: <20190520083202.29335-9-fidencio@redhat.com> In-Reply-To: <20190520083202.29335-1-fidencio@redhat.com> References: <20190520083202.29335-1-fidencio@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Subject: [libvirt] [glib PATCH 08/16] conn-test: Use print() in a py3 compatible way 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: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 20 May 2019 08:32:42 +0000 (UTC) Signed-off-by: Fabiano Fid=C3=AAncio --- examples/conn-test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/conn-test.py b/examples/conn-test.py index 100f5f5..3b680b8 100644 --- a/examples/conn-test.py +++ b/examples/conn-test.py @@ -33,9 +33,9 @@ def done(conn, result, data): try: conf.validate() =20 - print "Document is valid according to %s" % conf.get_schem= a() + print ("Document is valid according to %s" % conf.get_sche= ma()) except Exception, e: - print "Document is not valid according to %s: %s: %s" % (c= onf.get_schema(), str(e), str(type(e))) + print ("Document is not valid according to %s: %s: %s" % (= conf.get_schema(), str(e), str(type(e)))) =20 xml =3D conf.to_xml() print ("XML " + xml) --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list