Commit 0dc48b29 by Szabolcs Gelencser

Remove unnecessary logging

parent 1e231deb
......@@ -460,9 +460,6 @@ class NodeForm(forms.ModelForm):
model = Node
fields = ['name', 'priority', 'enabled', ]
from logging import getLogger
logger = getLogger(__name__)
class VmSizeChoiceField(forms.ModelChoiceField):
def label_from_instance(self, obj):
return """%s, Cores: %d, Memory: %d MB, OS Disk: %d MB,
......@@ -472,7 +469,6 @@ class VmSizeChoiceField(forms.ModelChoiceField):
obj.max_data_disk_count)
class TemplateForm(forms.ModelForm):
logger.debug(str(AzureVirtualMachineSize.objects.all()))
azure_vm_size = VmSizeChoiceField(
queryset=AzureVirtualMachineSize.objects.all())
......
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