From 75bbd73173211972dbcd29574a4705a6cad20220 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 11 Aug 2012 18:39:09 -0400 Subject: [PATCH] Fix indentation --- library/command | 4 ++-- library/file | 2 +- library/get_url | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/command b/library/command index 29661d26913..c86b1981c68 100755 --- a/library/command +++ b/library/command @@ -91,8 +91,8 @@ class CommandModule(AnsibleModule): params['chdir'] = None params['shell'] = False if args.find("#USE_SHELL") != -1: - args = args.replace("#USE_SHELL", "") - params['shell'] = True + args = args.replace("#USE_SHELL", "") + params['shell'] = True check_args = shlex.split(args) for x in check_args: diff --git a/library/file b/library/file index 92c21ffdae1..5c9fb1e39a2 100755 --- a/library/file +++ b/library/file @@ -200,7 +200,7 @@ def set_mode_if_different(path, mode, changed): try: os.chmod(path, mode) except Exception, e: - module_fail_json(path=path, msg='chmod failed', details=str(e)) + module_fail_json(path=path, msg='chmod failed', details=str(e)) st = os.stat(path) new_mode = stat.S_IMODE(st[stat.ST_MODE]) diff --git a/library/get_url b/library/get_url index c503383c6ae..592110afa9c 100755 --- a/library/get_url +++ b/library/get_url @@ -62,7 +62,7 @@ def url_do_get(module, url, dest): actualdest = "%s/%s" % (dest, urlfilename) module.params['path'] = actualdest else: - actualdest = dest + actualdest = dest info['daisychain_args'] = module.params info['daisychain_args']['state'] = 'file' info['daisychain_args']['dest'] = actualdest