Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Dec 20, 2024
1 parent a24b79d commit 9e72776
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/module_utils/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ def _get_resource_action_list(self):
continue
try:
found_operational_request = re.search(r"OperationModel\(name=.*?\)", ln)
operation_request = found_operational_request.group(0)[
20:-1
]
operation_request = found_operational_request.group(0)[20:-1]
resource = re.search(r"https://.*?\.", ln).group(0)[8:-1]
actions.append(f"{resource}:{operation_request}")
except AttributeError:
Expand Down

0 comments on commit 9e72776

Please sign in to comment.