mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
replace batch of redundant to_native() occurrences (#11098)
* replace batch of redundant to_native() occurrences * add changelog frag
This commit is contained in:
@@ -311,7 +311,7 @@ def main():
|
||||
check_mutually_exclusive(CATEGORY_COMMANDS_MUTUALLY_EXCLUSIVE[category], dict.fromkeys(command_list, True))
|
||||
|
||||
except TypeError as e:
|
||||
module.fail_json(msg=to_native(e))
|
||||
module.fail_json(msg=f"{e}")
|
||||
|
||||
# Organize by Categories / Commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user