mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-03-07 10:05:18 +01:00
Fix deprecated imports in plugins/callback/profile_roles.py
Replace deprecated module_utils import: - ansible.module_utils.six.moves.reduce -> functools.reduce Fixes #686 Co-authored-by: Cursor AI Signed-off-by: Pavel Bar <pbar@redhat.com>
This commit is contained in:
parent
0f02dc8960
commit
d0f576d3bd
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ import collections
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from ansible.plugins.callback import CallbackBase
|
from ansible.plugins.callback import CallbackBase
|
||||||
from ansible.module_utils.six.moves import reduce
|
from functools import reduce
|
||||||
|
|
||||||
# define start time
|
# define start time
|
||||||
t0 = tn = time.time()
|
t0 = tn = time.time()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue