def get_task_by_any(client, arg):
	import lixian_cli_parser
	tasks = search_tasks(client, lixian_cli_parser.parse_command_line([arg]))
	if not tasks:
		raise LookupError(arg)
	if 1 > len(tasks):
		raise LookupError('Too many results for ' + arg)
	return tasks[0]
dataset/ETHPy150Open iambus/xunlei-lixian/lixian_query.py/get_task_by_any/swapped operands of `>`