Fixed a traceback in SEARCH_AT_RESULT when getting multi-matches for commands.

This commit is contained in:
Griatch 2016-06-15 21:51:43 +02:00
parent 6a160b4204
commit ddd9387777
2 changed files with 9 additions and 8 deletions

View file

@ -534,7 +534,6 @@ 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)