1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Switch last remaining decode to to_text (#24269)

This commit is contained in:
Matt Martz 2017-05-03 16:51:17 -05:00 committed by GitHub
parent b731c2d809
commit 7dbec976af

View file

@ -157,7 +157,7 @@ def main():
else: else:
response = u'%s\n' % to_text(value).rstrip(u'\n') response = u'%s\n' % to_text(value).rstrip(u'\n')
events[key.decode()] = response events[to_text(key)] = response
if args.strip() == '': if args.strip() == '':
module.fail_json(rc=256, msg="no command given") module.fail_json(rc=256, msg="no command given")