diff options
| author | Victor Morales <chipahuac@hotmail.com> | 2021-08-06 14:45:45 -0700 |
|---|---|---|
| committer | Victor Morales <chipahuac@hotmail.com> | 2021-08-06 14:45:45 -0700 |
| commit | d15d94300f257606c7b75dd9949d47288cb68b8d (patch) | |
| tree | d3110c58d25a608ed731901251405f6f898927c7 /ansible/action_plugins | |
| parent | a63b4ef85aac531e2b1fae60e512c13d47589586 (diff) | |
| download | kolla-ansible-d15d94300f257606c7b75dd9949d47288cb68b8d.tar.gz kolla-ansible-d15d94300f257606c7b75dd9949d47288cb68b8d.zip | |
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
Diffstat (limited to 'ansible/action_plugins')
| -rwxr-xr-x | ansible/action_plugins/merge_yaml.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ansible/action_plugins/merge_yaml.py b/ansible/action_plugins/merge_yaml.py index 929576693..a4170b3b2 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 |
