mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
Clean old ansible versions commented code
This commit is contained in:
parent
b1db0b8276
commit
d0e01dd77f
1 changed files with 0 additions and 24 deletions
|
|
@ -280,30 +280,6 @@ def acl_changed(module, cmd, check_rc=True):
|
||||||
# left, there is no need to call select() again.
|
# left, there is no need to call select() again.
|
||||||
break
|
break
|
||||||
|
|
||||||
# proc.stdout.close()
|
|
||||||
# proc.stderr.close()
|
|
||||||
# selector.close()
|
|
||||||
|
|
||||||
|
|
||||||
# while True:
|
|
||||||
# output = proc.stdout.readline()
|
|
||||||
# if output == '' and proc.poll() is not None:
|
|
||||||
# break
|
|
||||||
# if _acl_module._acl_changed:
|
|
||||||
# continue
|
|
||||||
# lines = []
|
|
||||||
# for l in output.splitlines():
|
|
||||||
# lines.append(l.strip())
|
|
||||||
# for line in lines:
|
|
||||||
# if not line.endswith(b'*,*'):
|
|
||||||
# proc.terminate()
|
|
||||||
# while True:
|
|
||||||
# output = proc.stdout.readline()
|
|
||||||
# if output == '' and proc.poll() is not None:
|
|
||||||
# break
|
|
||||||
# proc.returncode=0
|
|
||||||
# _acl_module._acl_changed=True
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
(rc, out, err) = module.run_command(
|
(rc, out, err) = module.run_command(
|
||||||
cmd, check_rc=check_rc,
|
cmd, check_rc=check_rc,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue