commit | 67fdf89bc088ee42f7dad9b021fdb1463a7546bf | [log] [tgz] |
---|---|---|
author | Felix Elsner <google@ix5.org> | Tue Dec 04 21:45:49 2018 +0100 |
committer | Max Weninger <max.weninger@gmail.com> | Fri Dec 21 21:09:01 2018 +0100 |
tree | 3781e30ffef4aea0050c8e76401c887604cbf449 | |
parent | 33c4e37bba4337f370424c692dd5047a6eef6139 [diff] |
roomservice.py: Use list type for filter() results A filter() call returns an iterable in python3. If len(matches) is then checked, you get a nasty error: [...] WARNING: Trying to fetch a device that's already there [...] File "vendor/omni/build/tools/roomservice.py", line 56, in check_repo_exists if len(matches) != 1: TypeError: object of type 'filter' has no len() Change-Id: I48b42e6931bdbc1bfef2203ede0b3dadc8582a56