[libvirt] [sandbox 07/11] virt-sandbox-image: smarter source name computing
Daniel P. Berrange
berrange at redhat.com
Wed Sep 23 08:17:09 UTC 2015
On Wed, Sep 23, 2015 at 09:53:37AM +0200, Cédric Bosdonnat wrote:
> To compute the source class name from the URI scheme, we need to be a
> bit smarter to have a nice scheme for sources like the virt-builder one.
> In order to have a scheme like virt-builder:// and a class name like
> VirtBuilderSource, strip the non-word characters from the scheme and
> camel case the words.
> ---
> libvirt-sandbox/image/template.py | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
ACK
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 :|
More information about the libvir-list
mailing list