diff options
Diffstat (limited to 'src/virtBootstrap/virt_bootstrap.py')
| -rwxr-xr-x | src/virtBootstrap/virt_bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtBootstrap/virt_bootstrap.py b/src/virtBootstrap/virt_bootstrap.py index e387842..fe95f5e 100755 --- a/src/virtBootstrap/virt_bootstrap.py +++ b/src/virtBootstrap/virt_bootstrap.py @@ -62,7 +62,7 @@ def get_source(source_type): Get object which match the source type """ try: - class_name = "%sSource" % source_type.capitalize() + class_name = "%sSource" % source_type.title().replace('-', '') clazz = getattr(sources, class_name) return clazz except Exception: |
