Reformat code

This commit is contained in:
PCoder 2018-04-16 04:32:27 +02:00
parent 5738dc8e1b
commit 602ad1b2c0

View file

@ -1103,7 +1103,8 @@ class VirtualMachineView(LoginRequiredMixin, View):
context = {
'virtual_machine': serializer.data,
'order': HostingOrder.objects.get(
vm_id=serializer.data['vm_id'])
vm_id=serializer.data['vm_id']
)
}
except Exception as ex:
logger.debug("Exception generated {}".format(str(ex)))