Skip to content
Snippets Groups Projects
Commit 2ff8f3e2 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

* tarantool_silverbox: admin console hangs if not recognized command Fix (Bug #716683).

parent f35706e3
No related branches found
No related tags found
No related merge requests found
...@@ -40,11 +40,11 @@ class TarantoolAdmin(TarantoolConnection): ...@@ -40,11 +40,11 @@ class TarantoolAdmin(TarantoolConnection):
if not buf: if not buf:
break break
res = res + buf; res = res + buf;
if (res.rfind("\r\n...\r\n") >= 0): if (res.rfind("...\r\n") >= 0):
break break
# validate yaml by parsing it # validate yaml by parsing it
yaml.load(res) # yaml.load(res)
if not noprint: if not noprint:
print command.replace('\n', '') print command.replace('\n', '')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment