[libvirt] [sandbox 02/11] virt-sandbox-image: fix error string formatting.

Cédric Bosdonnat cbosdonnat at suse.com
Wed Sep 23 07:53:32 UTC 2015


---
 libvirt-sandbox/image/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-sandbox/image/cli.py b/libvirt-sandbox/image/cli.py
index 776b71f..75daf72 100755
--- a/libvirt-sandbox/image/cli.py
+++ b/libvirt-sandbox/image/cli.py
@@ -80,7 +80,7 @@ def delete(args):
         source.delete_template(template=tmpl,
                                templatedir=args.template_dir)
     except Exception,e:
-        print "Delete Error %s", str(e)
+        print "Delete Error %s" % str(e)
 
 def create(args):
     try:
-- 
2.1.4




More information about the libvir-list mailing list