Commit 2cda36f7 by Michael DeHaan

Merge pull request #664 from jpmens/a1

Fix file module to support = in args; remove superflous call in get_url
parents e4afa83b 628b289a
......@@ -135,7 +135,7 @@ if not len(items):
params = {}
for x in items:
(k, v) = x.split("=")
(k, v) = x.split("=",1)
params[k] = v
state = params.get('state','file')
......
......@@ -60,7 +60,7 @@ def url_do_get(module, url, dest):
if os.path.isdir(dest):
urlfilename = url_filename(url)
actualdest = "%s/%s" % (dest, url_filename(url))
actualdest = "%s/%s" % (dest, urlfilename)
module.params['path'] = actualdest
else:
actualdest = dest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment