diff options
| author | Lu lei <lei.lu@easystack.cn> | 2016-08-29 16:55:24 +0800 |
|---|---|---|
| committer | Lu lei <lei.lu@easystack.cn> | 2016-08-29 18:44:44 +0800 |
| commit | c12230a57c5c3ffad9eb6fabde80a4b66f636cce (patch) | |
| tree | d28d7a4eac87157faac5241dd07e45ca56b9354b /etc | |
| parent | c1a89c62abc79b35f294267ede9115c12fbfd425 (diff) | |
| download | kolla-c12230a57c5c3ffad9eb6fabde80a4b66f636cce.tar.gz kolla-c12230a57c5c3ffad9eb6fabde80a4b66f636cce.zip | |
Fix using filter() to meet python2,3
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
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions
