mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Remove unneeded imports in load_list_of_blocks (#39523)
This commit is contained in:
@@ -40,8 +40,6 @@ def load_list_of_blocks(ds, play, parent_block=None, role=None, task_include=Non
|
||||
|
||||
# we import here to prevent a circular dependency with imports
|
||||
from ansible.playbook.block import Block
|
||||
from ansible.playbook.task_include import TaskInclude
|
||||
from ansible.playbook.role_include import IncludeRole
|
||||
|
||||
if not isinstance(ds, (list, type(None))):
|
||||
raise AnsibleAssertionError('%s should be a list or None but is %s' % (ds, type(ds)))
|
||||
|
||||
Reference in New Issue
Block a user