From 917da92e2b4e1edd52928b4dcceea84de72c0b71 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 23 Mar 2016 08:00:33 -0700 Subject: [PATCH] Get rid of extra trailing space in log messages --- lib/ansible/module_utils/basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index fa2306f1974..06f4727e8a5 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -1497,9 +1497,9 @@ class AnsibleModule(object): arg_val = str(arg_val) elif isinstance(arg_val, unicode): arg_val = arg_val.encode('utf-8') - msg.append('%s=%s ' % (arg, arg_val)) + msg.append('%s=%s' % (arg, arg_val)) if msg: - msg = 'Invoked with %s' % ''.join(msg) + msg = 'Invoked with %s' % ' '.join(msg) else: msg = 'Invoked'