From c1fbf80f70a32823ae11bb811f0aac6c71f29517 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 28 Mar 2014 14:03:24 -0400 Subject: [PATCH] Slight docs tweak, split lines according to code standards --- library/files/synchronize | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library/files/synchronize b/library/files/synchronize index c1bb836af9d..2edae8c9e1b 100644 --- a/library/files/synchronize +++ b/library/files/synchronize @@ -51,7 +51,7 @@ options: required: false checksum: description: - - Skip based on checksum, not mod-time & size; Pay attention that "archive" option is enable by default: "checksum" option will not disable it. + - Skip based on checksum, rather than mod-time & size; Note that that "archive" option is still enabled by default: the "checksum" option will not disable it. choices: [ 'yes', 'no' ] default: 'no' required: false @@ -307,7 +307,8 @@ def main(): changed = changed_marker in out out_clean=out.replace(changed_marker,'') out_lines=out_clean.split('\n') - while '' in out_lines: out_lines.remove('') + while '' in out_lines: + out_lines.remove('') return module.exit_json(changed=changed, msg=out_clean, rc=rc, cmd=cmdstr, stdout_lines=out_lines)