mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Additional fixes for the new omit parameter variable
This commit is contained in:
@@ -112,10 +112,6 @@ except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
OMIT_PLACE_HOLDER = (
|
||||
'__omit_place_holder__%s' % _md5(os.urandom(64)).hexdigest()
|
||||
)
|
||||
|
||||
###############################################################
|
||||
# Abstractions around keyczar
|
||||
###############################################################
|
||||
@@ -787,10 +783,6 @@ def _validate_both_dicts(a, b):
|
||||
"failed to combine variables, expected dicts but got a '%s' and a '%s'" % (type(a).__name__, type(b).__name__)
|
||||
)
|
||||
|
||||
def serialize_args(args):
|
||||
''' convert a dict to a string of key/value items '''
|
||||
return ' '.join("%s='%s'" % item for item in args.iteritems())
|
||||
|
||||
def merge_hash(a, b):
|
||||
''' recursively merges hash b into a
|
||||
keys from b take precedence over keys from a '''
|
||||
|
||||
Reference in New Issue
Block a user