On Tue, Sep 22, 2015 at 09:13:53AM +0200, Cedric Bosdonnat wrote: > On Mon, 2015-09-21 at 22:11 +0200, Cedric Bosdonnat wrote: > > On Mon, 2015-09-21 at 15:45 +0100, Daniel P. Berrange wrote: > > > + tmpl = template.Template.from_uri(args.template) > > > + source = tmpl.get_source_impl() > > > + source.download_template(template=tmpl, > > > + templatedir=args.template_dir) > > > except IOError,e: > > > print "Source %s cannot be found in given path" %args.source > > This IOError exception message should be rephrased or handled with the > general Exception. Opps, yes, still accessing the deleted cli arg field. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list