mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Surround top-level function and class definitions with two blank lines.
This commit is contained in:
parent
9e310558ee
commit
b954917761
373 changed files with 408 additions and 28 deletions
|
@ -34,6 +34,7 @@ class SQLParseError(Exception):
|
|||
class UnclosedQuoteError(SQLParseError):
|
||||
pass
|
||||
|
||||
|
||||
# maps a type of identifier to the maximum number of dot levels that are
|
||||
# allowed to specify that identifier. For example, a database column can be
|
||||
# specified by up to 4 levels: database.schema.table.column
|
||||
|
|
|
@ -61,6 +61,7 @@ def list_dict_str(value):
|
|||
return value
|
||||
raise TypeError
|
||||
|
||||
|
||||
ARG_ATTRIBUTES_BLACKLIST = ('property_path',)
|
||||
|
||||
COMMON_ARG_SPEC = {
|
||||
|
|
|
@ -77,6 +77,7 @@ def aci_argument_spec():
|
|||
validate_certs=dict(type='bool', default=True),
|
||||
)
|
||||
|
||||
|
||||
'''
|
||||
URL_MAPPING = dict(
|
||||
action_rule=dict(aci_class='rtctrlAttrP', mo='attr-', key='name'),
|
||||
|
|
|
@ -81,6 +81,7 @@ def getRuleString(deviceType, variableId):
|
|||
return retVal
|
||||
# EOM
|
||||
|
||||
|
||||
default_cnos = {
|
||||
'vlan_id': 'INTEGER_VALUE:1-3999',
|
||||
'vlan_id_range': 'INTEGER_VALUE_RANGE:1-3999',
|
||||
|
|
|
@ -43,6 +43,7 @@ def get_exception():
|
|||
"""
|
||||
return sys.exc_info()[1]
|
||||
|
||||
|
||||
try:
|
||||
# Python 2.6+
|
||||
from ast import literal_eval
|
||||
|
|
|
@ -228,6 +228,7 @@ class _SixMetaPathImporter(object):
|
|||
return None
|
||||
get_source = get_code # same as get_code
|
||||
|
||||
|
||||
_importer = _SixMetaPathImporter(__name__)
|
||||
|
||||
|
||||
|
@ -490,6 +491,7 @@ class Module_six_moves_urllib(types.ModuleType):
|
|||
def __dir__(self):
|
||||
return ['parse', 'error', 'request', 'response', 'robotparser']
|
||||
|
||||
|
||||
_importer._add_module(Module_six_moves_urllib(__name__ + ".moves.urllib"),
|
||||
"moves.urllib")
|
||||
|
||||
|
|
|
@ -295,6 +295,7 @@ class NoSSLError(SSLValidationError):
|
|||
"""Needed to connect to an HTTPS url but no ssl library available to verify the certificate"""
|
||||
pass
|
||||
|
||||
|
||||
# Some environments (Google Compute Engine's CoreOS deploys) do not compile
|
||||
# against openssl and thus do not have any HTTPS support.
|
||||
CustomHTTPSConnection = CustomHTTPSHandler = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue