]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools ConvertMasmToNasm: put filter/map result in tuple for python3
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 16 Mar 2016 23:14:14 +0000 (16:14 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 28 Jun 2016 20:16:39 +0000 (13:16 -0700)
commit90694f121865073c93123c41046349ca84eb1a25
tree2b436e34afe17d66fe6623a6650865267847c6d3
parentc8102434ba8703ff3bd18d8f53675c2de3830f97
BaseTools ConvertMasmToNasm: put filter/map result in tuple for python3

Python 3's filter and map functions returns an iterator which you
can't call len() on. Since we'll want to use len() later, we put the
filter results into a tuple.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Scripts/ConvertMasmToNasm.py