Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Oct 7, 2024
1 parent 4959dbe commit bfab9d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugins/module_utils/base/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def search(self, match_fields: list = None) -> (dict, list):
# if we can - we only perform the 'detail' call for the already matched entry to save on needed requests
base_match_fields = False
base_match_fields_checked = False
force_details = False if not hasattr(self.i, self.ATTR_GET_DETAIL_ALL) else getattr(self.i, self.ATTR_GET_DETAIL_ALL)
force_details = False if not hasattr(self.i, self.ATTR_GET_DETAIL_ALL) else \
getattr(self.i, self.ATTR_GET_DETAIL_ALL)

for base_entry in self._api_post({
**self.i.call_cnf,
Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/main/bind_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from ansible_collections.ansibleguy.opnsense.plugins.module_utils.base.api import \
Session
from ansible_collections.ansibleguy.opnsense.plugins.module_utils.helper.main import \
get_multiple_matching, is_unset, is_ip4, is_ip6, valid_hostname
get_multiple_matching, is_unset, is_ip4, is_ip6
from ansible_collections.ansibleguy.opnsense.plugins.module_utils.base.cls import BaseModule


Expand Down

0 comments on commit bfab9d8

Please sign in to comment.