diff options
Diffstat (limited to 'vnftest/dispatcher/base.py')
-rw-r--r-- | vnftest/dispatcher/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnftest/dispatcher/base.py b/vnftest/dispatcher/base.py index 133b792..e53dd96 100644 --- a/vnftest/dispatcher/base.py +++ b/vnftest/dispatcher/base.py @@ -30,7 +30,7 @@ class Base(object): @staticmethod def get_cls(dispatcher_type): """Return class of specified type.""" - for dispatcher in utils.itersubclasses(Base): + for dispatcher in utils.findsubclasses(Base): if dispatcher_type == dispatcher.__dispatcher_type__: return dispatcher raise RuntimeError("No such dispatcher_type %s" % dispatcher_type) |