Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- 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() - print "Document is valid according to %s" % conf.get_schema() + print ("Document is valid according to %s" % conf.get_schema()) except Exception, e: - print "Document is not valid according to %s: %s: %s" % (conf.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)))) xml = conf.to_xml() print ("XML " + xml) -- 2.21.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list