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

@ -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)