Commit 62f9e566 by Bach Dániel

vm: simplify shutdown call

parent bd83d4b0
...@@ -723,7 +723,7 @@ class SaveAsTemplateOperation(InstanceOperation): ...@@ -723,7 +723,7 @@ class SaveAsTemplateOperation(InstanceOperation):
if with_shutdown: if with_shutdown:
try: try:
ShutdownOperation(self.instance).call(parent_activity=activity, self.instance.shutdown(parent_activity=activity,
user=user, task=task) user=user, task=task)
except Instance.WrongStateError: except Instance.WrongStateError:
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment