Skip to content

Commit

Permalink
remove unused import and logging line
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamack committed Nov 23, 2024
1 parent 4bf0ba8 commit bdcc1c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions awx/main/models/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from rest_framework.exceptions import ParseError

from ansible_base.lib.utils.models import prevent_search
from awx_plugins.inventory.plugins import PluginFileInjector
from awx_plugins.interfaces._temporary_private_licensing_api import detect_server_product_name

# AWX
Expand Down Expand Up @@ -1409,7 +1408,6 @@ def get_absolute_url(self, request=None):
awx_entry_points = {ep.name: ep for ep in entry_points(group='awx_plugins.inventory')}
supported_entry_points = {ep.name: ep for ep in entry_points(group='awx_plugins.inventory.supported')}
entry_points = awx_entry_points if detect_server_product_name() == 'AWX' else {**awx_entry_points, **supported_entry_points}
logger.info(entry_points)

for entry_point_name, entry_point in entry_points.items():
cls = entry_point.load()
Expand Down

0 comments on commit bdcc1c4

Please sign in to comment.