Skip to content

Commit

Permalink
One other type fix
Browse files Browse the repository at this point in the history
Signed-off-by: BryceGattis <brycegattis@yahoo.com>
  • Loading branch information
BryceGattis committed May 6, 2024
1 parent 180920a commit 91f6a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rez/plugin_managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def _get_plugin_type(self, plugin_type: str) -> RezPluginType:
raise RezPluginError("Unrecognised plugin type: '%s'"
% plugin_type)

def register_plugin_type(self, type_class: RezPluginType):
def register_plugin_type(self, type_class: Type[RezPluginType]):
if not issubclass(type_class, RezPluginType):
raise TypeError("'type_class' must be a RezPluginType sub class")
if type_class.type_name is None:
Expand Down

0 comments on commit 91f6a28

Please sign in to comment.