Fix minor whitespace issues

This commit is contained in:
Jérémie Astori 2015-08-19 00:24:08 +00:00 committed by Matt Clay
parent 9ad712018c
commit 08e8f732c5

View file

@ -21,7 +21,7 @@ module: acl
version_added: "1.4" version_added: "1.4"
short_description: Sets and retrieves file ACL information. short_description: Sets and retrieves file ACL information.
description: description:
- Sets and retrieves file ACL information. - Sets and retrieves file ACL information.
notes: notes:
- As of Ansible 2.0, this module only supports Linux distributions. - As of Ansible 2.0, this module only supports Linux distributions.
options: options:
@ -122,6 +122,7 @@ acl:
sample: [ "user::rwx", "group::rwx", "other::rwx" ] sample: [ "user::rwx", "group::rwx", "other::rwx" ]
''' '''
def split_entry(entry): def split_entry(entry):
''' splits entry and ensures normalized return''' ''' splits entry and ensures normalized return'''
@ -161,7 +162,7 @@ def build_entry(etype, entity, permissions=None):
def build_command(module, mode, path, follow, default, recursive, entry=''): def build_command(module, mode, path, follow, default, recursive, entry=''):
'''Builds and returns agetfacl/setfacl command.''' '''Builds and returns a getfacl/setfacl command.'''
if mode == 'set': if mode == 'set':
cmd = [module.get_bin_path('setfacl', True)] cmd = [module.get_bin_path('setfacl', True)]
cmd.append('-m "%s"' % entry) cmd.append('-m "%s"' % entry)