Reformat code
This commit is contained in:
parent
5738dc8e1b
commit
602ad1b2c0
1 changed files with 2 additions and 1 deletions
|
@ -1103,7 +1103,8 @@ class VirtualMachineView(LoginRequiredMixin, View):
|
||||||
context = {
|
context = {
|
||||||
'virtual_machine': serializer.data,
|
'virtual_machine': serializer.data,
|
||||||
'order': HostingOrder.objects.get(
|
'order': HostingOrder.objects.get(
|
||||||
vm_id=serializer.data['vm_id'])
|
vm_id=serializer.data['vm_id']
|
||||||
|
)
|
||||||
}
|
}
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logger.debug("Exception generated {}".format(str(ex)))
|
logger.debug("Exception generated {}".format(str(ex)))
|
||||||
|
|
Loading…
Reference in a new issue