Skip to content

Commit

Permalink
Fix flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Nikulin committed Dec 13, 2019
1 parent a118bbf commit 42396cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion module_utils/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ def __init__(self, conn, check_mode=False):
self._operation_checker = OperationChecker
self._system_info = None


def execute_operation(self, op_name, params):
"""
Allow user request execution of simple operations(natively supported by API provider) as well as complex
Expand Down
4 changes: 2 additions & 2 deletions test/unit/module_utils/test_upsert_functionality.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
from ansible.module_utils.common import FtdServerError, HTTPMethod, ResponseParams, FtdConfigurationError
from ansible.module_utils.configuration import DUPLICATE_NAME_ERROR_MESSAGE, UNPROCESSABLE_ENTITY_STATUS, \
MULTIPLE_DUPLICATES_FOUND_ERROR, BaseConfigurationResource, FtdInvalidOperationNameError, QueryParams, \
ADD_OPERATION_NOT_SUPPORTED_ERROR, ParamName, NO_CONTENT_STATUS
ADD_OPERATION_NOT_SUPPORTED_ERROR, ParamName
from ansible.module_utils.fdm_swagger_client import ValidationError
except ImportError:
from module_utils.common import FtdServerError, HTTPMethod, ResponseParams, FtdConfigurationError
from module_utils.configuration import DUPLICATE_NAME_ERROR_MESSAGE, UNPROCESSABLE_ENTITY_STATUS, \
MULTIPLE_DUPLICATES_FOUND_ERROR, BaseConfigurationResource, FtdInvalidOperationNameError, QueryParams, \
ADD_OPERATION_NOT_SUPPORTED_ERROR, ParamName, NO_CONTENT_STATUS
ADD_OPERATION_NOT_SUPPORTED_ERROR, ParamName
from module_utils.fdm_swagger_client import ValidationError

ADD_RESPONSE = {'status': 'Object added'}
Expand Down

0 comments on commit 42396cc

Please sign in to comment.