and it was supposed to be a dict

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
Brian Coca 2013-12-19 17:22:05 -05:00
parent 564bd29eeb
commit 3587053119

View file

@ -147,7 +147,7 @@ def main():
if rc:
module.fail_json(msg=e)
curr = { question: value }
prev = (question: prev[question])
prev = {question: prev[question]}
module.exit_json(changed=changed, msg=msg, current=curr, previous=prev)