Commit Graph

10 Commits (7ab2ddbe2af1d685c44dc36e87ef7f05efc5de35)

Author SHA1 Message Date
Toshio Kuratomi 4ed88512e4 Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423)
We couldn't copy to_unicode, to_bytes, to_str into module_utils because
of licensing.  So once created it we had two sets of functions that did
the same things but had different implementations.  To remedy that, this
change removes the ansible.utils.unicode versions of those functions.
8 years ago
Yannig Perré 588045cc46 Improve message content to get more hint about the raised error. 9 years ago
James Cammarata 1027abd596 Cleaning up bugs related to perf improvement changes 9 years ago
James Cammarata 63c47fb271 Fixing up performance 9 years ago
Toshio Kuratomi baa309309d Bundle a new version of python-six for compatibility along with some code to make it easy for distributions to override the bunndled copy if they have a new enough version. 9 years ago
Marius Gedminas 823677b490 Replace .iteritems() with six.iteritems()
Replace .iteritems() with six.iteritems() everywhere except in
module_utils (because there's no 'six' on the remote host).  And except
in lib/ansible/galaxy/data/metadata_template.j2, because I'm not sure
six is available there.
9 years ago
Abhijit Menon-Sen 807079ec2f Remove outdated FIXME; HostVars is imported and used below 9 years ago
James Cammarata fc5be30c2f Change the use of a mutable arg for a default value for locals 10 years ago
James Cammarata 18a9eff11f Properly use local variables from templates including other templates
Fixes #6653
10 years ago
James Cammarata ce3ef7f4c1 Making the switch to v2 10 years ago