Remove unnecessary unicode conversions from parse_kv

Fixes #8425
This commit is contained in:
James Cammarata 2014-08-04 09:43:08 -05:00
commit 6d94ae64ec
4 changed files with 3 additions and 4 deletions

View file

@ -40,3 +40,4 @@
gather_facts: true
tasks:
- debug: msg='Unicode is a good thing ™'
- debug: msg=АБВГД

View file

@ -165,6 +165,8 @@ class TestUtils(unittest.TestCase):
def test_parse_kv_basic(self):
self.assertEqual(ansible.utils.parse_kv('a=simple b="with space" c="this=that"'),
{'a': 'simple', 'b': 'with space', 'c': 'this=that'})
self.assertEqual(ansible.utils.parse_kv('msg=АБВГД'),
{'msg': 'АБВГД'})
def test_jsonify(self):