mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
lint (and single quotes when I see them :) )
This commit is contained in:
parent
0990057313
commit
83fab2739d
@ -529,8 +529,8 @@ def create(vm_):
|
||||
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"]
|
||||
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.'
|
||||
|
Loading…
Reference in New Issue
Block a user