Fix how the lock command returns strings to avoid a malformed AMP send. This (again fixes ##996.
This commit is contained in:
parent
1a30079fd4
commit
6a160b4204
2 changed files with 2 additions and 0 deletions
|
|
@ -534,6 +534,7 @@ def cmdhandler(called_by, raw_string, _testing=False, callertype="session", sess
|
|||
syscmd.matches = matches
|
||||
else:
|
||||
# fall back to default error handling
|
||||
print "matches:", matches
|
||||
sysarg = yield _SEARCH_AT_RESULT([match[2] for match in matches], caller, query=match[0])
|
||||
raise ExecSystemCommand(syscmd, sysarg)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue