diff --git a/moler/device/textualdevice.py b/moler/device/textualdevice.py index 8dec76e32..9e0686956 100644 --- a/moler/device/textualdevice.py +++ b/moler/device/textualdevice.py @@ -22,7 +22,6 @@ import time import traceback -from moler.cmd.commandtextualgeneric import CommandTextualGeneric from moler.config.loggers import change_logging_suffix, configure_device_logger from moler.connection_factory import get_connection from moler.connection_observer import ConnectionObserver @@ -925,6 +924,7 @@ def get_cmd(self, cmd_name, cmd_params=None, check_state=True, for_state=None): for_state=for_state, **cmd_params, ) + from moler.cmd.commandtextualgeneric import CommandTextualGeneric assert isinstance(cmd, CommandTextualGeneric) return cmd