mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Pylint fixes
This commit is contained in:
parent
0a28a462a9
commit
f874d8bbba
@ -36,19 +36,17 @@ Example ``/etc/salt/cloud.providers`` or
|
||||
|
||||
# Import python libs
|
||||
from __future__ import absolute_import
|
||||
|
||||
import copy
|
||||
import logging
|
||||
import pprint
|
||||
import time
|
||||
import yaml
|
||||
|
||||
# Import salt libs
|
||||
import salt.config as config
|
||||
from salt.exceptions import SaltCloudSystemExit
|
||||
import salt.utils.cloud
|
||||
import yaml
|
||||
|
||||
# Import python libs
|
||||
# Import salt cloud libs
|
||||
# Import azure libs
|
||||
HAS_LIBS = False
|
||||
try:
|
||||
@ -767,6 +765,7 @@ def create(vm_):
|
||||
|
||||
return ret
|
||||
|
||||
|
||||
def create_attach_volumes(name, kwargs, call=None, wait_to_finish=True):
|
||||
'''
|
||||
Create and attach volumes to created node
|
||||
@ -857,6 +856,7 @@ def create_attach_volumes(name, kwargs, call=None, wait_to_finish=True):
|
||||
log.error('Error attaching {0} on Azure'.format(volume_dict))
|
||||
return ret
|
||||
|
||||
|
||||
def destroy(name, conn=None, call=None, kwargs=None):
|
||||
'''
|
||||
Destroy a VM
|
||||
|
Loading…
Reference in New Issue
Block a user