mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
Additional fixes for the new omit parameter variable
This commit is contained in:
parent
6260635c65
commit
e99db078b4
3 changed files with 16 additions and 13 deletions
|
@ -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 '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue