Skip to content

Commit

Permalink
Dedup plugin choices after fetching them from registry (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
omkhegde authored Nov 4, 2020
1 parent 67778ab commit 9b7ce80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpdk/core/plugin_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def get_plugin_choices():
entry_point.name
for entry_point in pkg_resources.iter_entry_points("rpdk.v1.languages")
]
return sorted(plugin_choices)
return sorted(set(plugin_choices))


def get_parsers():
Expand Down

0 comments on commit 9b7ce80

Please sign in to comment.