mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixups for picayune pylint pedantery :)
This commit is contained in:
parent
35b66e28a3
commit
f7ef0bcd4c
2 changed files with 1 additions and 3 deletions
|
@ -51,7 +51,6 @@ import logging
|
|||
import re
|
||||
from distutils.version import LooseVersion as _LooseVersion # pylint: disable=import-error,no-name-in-module
|
||||
import salt.ext.six as six
|
||||
import salt.utils.boto
|
||||
from salt.exceptions import SaltInvocationError, CommandExecutionError
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
@ -114,6 +113,7 @@ def exists(name=None, region=None, key=None, keyid=None, profile=None,
|
|||
else:
|
||||
return False
|
||||
|
||||
|
||||
def _check_vpc(vpc_id, vpc_name, region, key, keyid, profile):
|
||||
'''
|
||||
Check whether a VPC with the given name or id exists.
|
||||
|
@ -135,7 +135,6 @@ def _check_vpc(vpc_id, vpc_name, region, key, keyid, profile):
|
|||
return vpc_id
|
||||
|
||||
|
||||
|
||||
def _get_id(vpc_name=None, cidr=None, tags=None, region=None, key=None,
|
||||
keyid=None, profile=None):
|
||||
'''
|
||||
|
|
|
@ -87,7 +87,6 @@ import logging
|
|||
|
||||
# Import salt libs
|
||||
import salt.utils.dictupdate as dictupdate
|
||||
import salt.utils.boto
|
||||
from salt.exceptions import SaltInvocationError
|
||||
from salt.ext.six import string_types
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue