diff --git a/changelogs/fragments/10644-oneview-os.yml b/changelogs/fragments/10644-oneview-os.yml new file mode 100644 index 0000000000..f2789cf5fc --- /dev/null +++ b/changelogs/fragments/10644-oneview-os.yml @@ -0,0 +1,2 @@ +breaking_changes: + - oneview module utils - remove import of standard library ``os`` (https://github.com/ansible-collections/community.general/pull/10644). diff --git a/plugins/module_utils/oneview.py b/plugins/module_utils/oneview.py index 4315a462dc..e7dd35002e 100644 --- a/plugins/module_utils/oneview.py +++ b/plugins/module_utils/oneview.py @@ -16,8 +16,6 @@ __metaclass__ = type import abc import collections import json -# (TODO: remove next line!) -import os # noqa: F401, pylint: disable=unused-import import traceback HPE_ONEVIEW_IMP_ERR = None