From 01a2384cdd67fe45e47428d008193cc211463351 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 29 May 2013 10:07:11 -0400 Subject: [PATCH] Minor style tweak. --- library/files/assemble | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/library/files/assemble b/library/files/assemble index 6461f138fd8..eeb9f3eb3d5 100644 --- a/library/files/assemble +++ b/library/files/assemble @@ -95,12 +95,12 @@ def main(): add_file_common_args=True ) - changed=False + changed = False pathmd5 = None destmd5 = None - src = os.path.expanduser(module.params['src']) - dest = os.path.expanduser(module.params['dest']) - backup = module.params['backup'] + src = os.path.expanduser(module.params['src']) + dest = os.path.expanduser(module.params['dest']) + backup = module.params['backup'] if not os.path.exists(src): module.fail_json(msg="Source (%s) does not exist" % src) @@ -123,8 +123,7 @@ def main(): file_args = module.load_file_common_arguments(module.params) changed = module.set_file_attributes_if_different(file_args, changed) # Mission complete - module.exit_json(src=src, dest=dest, md5sum=destmd5, - changed=changed, msg="OK") + module.exit_json(src=src, dest=dest, md5sum=destmd5, changed=changed, msg="OK") # this is magic, see lib/ansible/module_common.py #<>