Use list to wrap python3 generator objects.
Python3 map, filter returns generator object. In some places generators must be wrapped with list to allow reuse of result. In other to allow concatenation. Bug: 1164344 Change-Id: I00813ff95c73f3e25f18d7bab08e2704af948664 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2617846Reviewed-by:Hitoshi Yoshida <peria@chromium.org> Reviewed-by:
Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#843455}
Showing
Please register or sign in to comment