From 706b23605875e32c460311d1850abe827912e669 Mon Sep 17 00:00:00 2001 From: Terseus Date: Sat, 3 Apr 2021 12:13:51 +0200 Subject: [PATCH] Fix `ansible-doc aur` error about dictionary element length Fixes the following error when running `ansible-doc aur`: ``` ERROR! Unable to retrieve documentation from 'aur' due to: dictionary update sequence element #0 has length 1; 2 is required ``` It was because the `helper` value in the `RETURN` section was missing the `description` key. --- library/aur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/aur.py b/library/aur.py index b52442d..373d868 100644 --- a/library/aur.py +++ b/library/aur.py @@ -90,7 +90,7 @@ RETURN = ''' msg: description: action that has been taken helper: - the helper that was actually used + description: the helper that was actually used ''' EXAMPLES = '''