community.general/lib/ansible
Marius Gedminas ca826508d9 Python 3: fix AnsibleError formatting
If you convert the error string to bytes and embed it inside another
error string, you get

  Prefix:

  b'Embedded\nerror\nstring'

which is not what we want.

But we also don't want Unicode in error messages causing unexpected
UnicodeEncodeErrors when on Python 2.

So let's convert the error message into the native string type (bytes on
Python 2, unicode on Python 3).
2015-10-15 09:38:14 +03:00
..
cli fix classmethod syntax error. 2015-10-09 12:46:31 +08:00
compat Making the switch to v2 2015-05-03 21:47:26 -05:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors Python 3: fix AnsibleError formatting 2015-10-15 09:38:14 +03:00
executor Python 3: there's no basestring 2015-10-13 09:56:12 +03:00
galaxy Cleaning up some ansible-galaxy stuff 2015-10-05 22:59:08 -04:00
inventory Check is_directory() before not is_file() in inventory basedir 2015-10-14 11:03:10 -04:00
module_utils made syslog import optional as intel's edison custom compiles python w/o it 2015-10-14 09:12:02 -04:00
modules Update extras modules ref to fix docs 2015-10-14 08:44:37 -07:00
new_inventory fix some warning of undefined name. 2015-10-09 12:43:42 +08:00
parsing Add some more info to docstring 2015-10-14 18:57:10 -07:00
playbook Python 3: there's no iteritems() 2015-10-13 09:47:16 +03:00
plugins Update synchronize to use the correct host when delegating 2015-10-14 18:57:10 -07:00
template Properly use test_loader from SharedPluginLoaderObj 2015-10-14 17:53:28 -04:00
utils Fix display when run through a testing framework that overrides stderr/stdout 2015-10-12 10:06:13 -07:00
vars Make UnsafeProxy work on Python 3 2015-10-13 09:41:08 +03:00
__init__.py Re-adding submodules after moving things around 2015-05-03 22:30:51 -05:00
constants.py Set explicit default for ANSIBLE_SSH_ARGS 2015-10-02 21:26:25 +05:30
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00