From 99a00dbc20ac23fab206f5888f84f38c416d51c3 Mon Sep 17 00:00:00 2001 From: Dan Kenigsberg Date: Mon, 6 Jul 2009 17:05:41 +0200 Subject: Fix python examples to use read-write conn * docs/examples/python/domstart.py python/tests/create.py: The two example were broken as they needed full-access connection but only opened read-only connections --- tests/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/create.py b/tests/create.py index 0da89a9..d2c434e 100755 --- a/tests/create.py +++ b/tests/create.py @@ -52,7 +52,7 @@ else: initrdU = "" + initrdU + "" -conn = libvirt.openReadOnly(None) +conn = libvirt.open(None) if conn == None: print 'Failed to open connection to the hypervisor' sys.exit(1) -- cgit