|
@@ -74,10 +74,6 @@ def _output(expected=None):
|
|
|
def _last_output():
|
|
|
return last_output
|
|
|
|
|
|
-def _consume_to_end():
|
|
|
- while (_output() not in ["Ready for command...", "Please give your command."]):
|
|
|
- pass
|
|
|
-
|
|
|
# Exceptions
|
|
|
class ModelverseException(Exception):
|
|
|
pass
|
|
@@ -808,5 +804,5 @@ def model_exit():
|
|
|
if mode != 3:
|
|
|
raise InvalidMode()
|
|
|
_input("exit")
|
|
|
- _consume_to_end()
|
|
|
+ _output("Ready for command...")
|
|
|
mode = 2
|