Fix PEP warning

This commit is contained in:
PCoder 2020-12-10 10:04:04 +05:30
parent 22d3b1f83c
commit 57b6b18243

View file

@ -42,7 +42,7 @@ class Command(BaseCommand):
if vm_id and vm_id > 0: if vm_id and vm_id > 0:
result_dict[vm_name] = "%s OK, created VM %s" % ( result_dict[vm_name] = "%s OK, created VM %s" % (
'%s %s %s' % (vm_template.opennebula_vm_template_id, '%s %s %s' % (vm_template.opennebula_vm_template_id,
vm_template.name, vm_template.vm_type), vm_template.name, vm_template.vm_type),
vm_id vm_id
) )
self.stdout.write(self.style.SUCCESS(result_dict[vm_name])) self.stdout.write(self.style.SUCCESS(result_dict[vm_name]))