lint (and single quotes when I see them :) )

This commit is contained in:
Thomas S Hatch 2015-01-09 17:35:25 -07:00
parent 0990057313
commit 83fab2739d

View File

@ -528,9 +528,9 @@ def create(vm_):
conn.create_virtual_machine_deployment(**vm_kwargs)
except WindowsAzureConflictError:
log.debug("Conflict error. The deployment may already exist, trying add_role")
# Deleting two useless keywords
del vm_kwargs["deployment_slot"]
del vm_kwargs["label"]
# Deleting two useless keywords
del vm_kwargs['deployment_slot']
del vm_kwargs['label']
conn.add_role(**vm_kwargs)
except Exception as exc:
error = 'The hosted service name is invalid.'