From d15d94300f257606c7b75dd9949d47288cb68b8d Mon Sep 17 00:00:00 2001
From: Victor Morales <chipahuac@hotmail.com>
Date: Fri, 6 Aug 2021 14:45:45 -0700
Subject: [PATCH] Remove unused imports in merge_yaml

Dumper and Loader are classes seem to be loaded but not used in the merge_yaml
file. This change removes them for reducing the number of lines.

Change-Id: I87ef305903ab02226fcaa725ece622647d17811c
---
 ansible/action_plugins/merge_yaml.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/ansible/action_plugins/merge_yaml.py b/ansible/action_plugins/merge_yaml.py
index 9295766938..a4170b3b23 100755
--- a/ansible/action_plugins/merge_yaml.py
+++ b/ansible/action_plugins/merge_yaml.py
@@ -21,13 +21,6 @@ import tempfile
 
 from yaml import dump
 from yaml import safe_load
-try:
-    from yaml import CDumper as Dumper  # noqa: F401
-    from yaml import CLoader as Loader  # noqa: F401
-except ImportError:
-    from yaml import Dumper  # noqa: F401
-    from yaml import Loader  # noqa: F401
-
 
 from ansible import constants
 from ansible import errors as ansible_errors