qubes/vm/qubesvm: change type of exception
This commit is contained in:
parent
3b08e85a2d
commit
6895f34a7f
@ -96,7 +96,7 @@ def _setter_name(self, prop, value):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
if value in self.app.domains:
|
if value in self.app.domains:
|
||||||
raise qubes.exc.QubesException(
|
raise qubes.exc.QubesValueError(
|
||||||
'VM named {} alread exists'.format(value))
|
'VM named {} alread exists'.format(value))
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
Loading…
Reference in New Issue
Block a user