
As mentioned in link[1], if we need filter() on python3, Raplace filter(lambda obj: test(obj), data) with: [obj for obj in data if test(obj)]. [1] https://wiki.openstack.org/wiki/Python3 TrivialFix. Change-Id: Ic1ea289c89fad16bc7aa1db42faa9a6b686086d2