diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2016-03-23 08:00:33 -0700 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2016-03-23 08:01:21 -0700 |
commit | 917da92e2b4e1edd52928b4dcceea84de72c0b71 (patch) | |
tree | 276f1b307bbb1ad9fb9c4a03815e277fba248fd4 | |
parent | e42bb8df6cd472b38725734cd2a0969c2f89b9a9 (diff) | |
download | ansible-917da92e2b4e1edd52928b4dcceea84de72c0b71.tar.gz |
Get rid of extra trailing space in log messages
-rw-r--r-- | lib/ansible/module_utils/basic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index fa2306f197..06f4727e8a 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' |