Fix bug in Qubes.get_vm_class()

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2016-03-27 21:08:05 +02:00 committed by Wojtek Porczyk
parent c375334c54
commit 49ec29a235

View File

@ -1415,7 +1415,7 @@ class Qubes(PropertyHolder):
'''
try:
get_entry_point_one('qubes.vm', clsname)
return get_entry_point_one('qubes.vm', clsname)
except KeyError:
raise qubes.exc.QubesException(
'no such VM class: {!r}'.format(clsname))