diff --git a/plugins/modules/xattr.py b/plugins/modules/xattr.py index 7f7572dd4a..9735d7675c 100644 --- a/plugins/modules/xattr.py +++ b/plugins/modules/xattr.py @@ -159,7 +159,7 @@ def main(): module.fail_json(msg="path not found or not accessible!") if state == 'read' and key is None: - #NOTE: This is backwards compatible, but should go away once we deprecate and remove 'info states' + # NOTE: This is backwards compatible, but should go away if we deprecate and remove 'info states' module.warn('No key provided for state "read", assuming you really want "all"') state == 'all'