You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/plugins/filter
Toshio Kuratomi 155f36bbd8
Rekey on member (#33836)
* Change cast_list_to_dict to more generic rekey_on_member

cast_list_to_dict was taking an arbitrary data format in and returning
an arbitrary data format out.  Rework this to be a more generic function
which creates a dict of dicts based on a member of the dict.

Remove cast_dict_to_list since rekey_on_member handles the use cases we
know about and cast_dict_to_list suffers from the same problems as
cast_list_to_dict.  If this is still needed we could think about filters
we could add to do this in a short jinja2 pipeline.

* Fix bare excepts (bare excepts even catch sys.exit())
7 years ago
..
fixtures/network Add new filter to parse xml output for network use cases (#31562) 7 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_ipaddr.py Port some tests away from nose as examples (#33437) 7 years ago
test_mathstuff.py Rekey on member (#33836) 7 years ago
test_network.py Add new filter to parse xml output for network use cases (#31562) 7 years ago