Fix minor whitespace issues
This commit is contained in:
parent
9ad712018c
commit
08e8f732c5
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue