79
79
# See if there is a component registered for the parent class.
80
80
# We need to do this both for the case where 'used_for' is a
81
81
# tuple and a single class.
85
82
if isinstance(used_for, tuple):
87
88
if issubclass(used_for[0], key[0]) and \
88
89
issubclass(used_for[1], key[1]):