Pep8 fixes for acl module (#24666)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-08-19 00:01:16 +05:30 committed by Brian Coca
parent b146ba37da
commit a572de626c
2 changed files with 2 additions and 4 deletions

View file

@ -140,11 +140,10 @@ acl:
'''
import os
# import module snippets
from ansible.module_utils.basic import AnsibleModule, get_platform
from ansible.module_utils.pycompat24 import get_exception
def split_entry(entry):
''' splits entry and ensures normalized return'''
@ -210,7 +209,7 @@ def build_command(module, mode, path, follow, default, recursive, entry=''):
cmd.append('-h')
if default:
if(mode == 'rm'):
if mode == 'rm':
cmd.insert(1, '-k')
else: # mode == 'set' or mode == 'get'
cmd.insert(1, '-d')

View file

@ -208,7 +208,6 @@ lib/ansible/modules/database/vertica/vertica_facts.py
lib/ansible/modules/database/vertica/vertica_role.py
lib/ansible/modules/database/vertica/vertica_schema.py
lib/ansible/modules/database/vertica/vertica_user.py
lib/ansible/modules/files/acl.py
lib/ansible/modules/files/archive.py
lib/ansible/modules/files/assemble.py
lib/ansible/modules/files/blockinfile.py