Allow unicode transfer by not base64 encoding. Also: faster

This commit is contained in:
Michael DeHaan
2012-08-02 21:20:43 -04:00
parent 227dfc17f3
commit ce01c3f7e7
4 changed files with 9 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com>, and others
#
@@ -84,7 +85,7 @@ class CommandModule(AnsibleModule):
def _load_params(self):
''' read the input and return a dictionary and the arguments string '''
args = base64.b64decode(MODULE_ARGS)
args = MODULE_ARGS
items = shlex.split(args)
params = {}
params['chdir'] = None