Prevent use filter(lambda obj: test(obj), data)

In Python3 [1], if we need filter on python3, replace
filter(lambda obj: test(obj), data) with:
[obj for obj in data if test(obj)]. This patch replaces
filter function and introduces a hacking rule to prevent
using filter in future.

[1] https://wiki.openstack.org/wiki/Python3

Change-Id: I83d22108c02f8da007a7233e71a4a7fb833170ec
1 file changed
tree: 1cb683c5bea51b6380220b03fe60b92d186615b9
  1. neutron/