Allow unicode transfer by not base64 encoding. Also: faster

reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent c49004f2ef
commit 34ca8d7179

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

Loading…
Cancel
Save