mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Reformat everything.
This commit is contained in:
@@ -11,15 +11,15 @@ from ansible_collections.community.general.plugins.module_utils.cmd_runner impor
|
||||
def xdg_mime_runner(module, **kwargs):
|
||||
return CmdRunner(
|
||||
module,
|
||||
command=['xdg-mime'],
|
||||
command=["xdg-mime"],
|
||||
arg_formats=dict(
|
||||
default=cmd_runner_fmt.as_fixed('default'),
|
||||
query=cmd_runner_fmt.as_fixed('query'),
|
||||
default=cmd_runner_fmt.as_fixed("default"),
|
||||
query=cmd_runner_fmt.as_fixed("query"),
|
||||
mime_types=cmd_runner_fmt.as_list(),
|
||||
handler=cmd_runner_fmt.as_list(),
|
||||
version=cmd_runner_fmt.as_fixed('--version'),
|
||||
version=cmd_runner_fmt.as_fixed("--version"),
|
||||
),
|
||||
**kwargs
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user