[gyb] Convert map object to list object
[gyb] Convert map object to list object

Python 2's map function [1] returns a list by default. Compared with
Python 3's map function [2] which returns an iterator (or map object).
The former is subscriptable, while the latter is not.

This patch explicitly converts the result of some map operations to be
a list. That way they have the same intended behaviour on both Python 2
and 3.

[1] https://docs.python.org/2/library/functions.html#map
[2] https://docs.python.org/3/library/functions.html#map

zisko/swift,hooman/swift,arvedviehweger/swift,bitjammer/swift,IngmarStein/swift,brentdax/swift,sschiau/swift,tardieu/swift,gmilos/swift,gmilos/swift,allevato/swift,adrfer/swift,nathawes/swift,austinzheng/swift,hughbe/swift,harlanhaskins/swift,sschiau/swift,ahoppen/swift,stephentyrone/swift,tinysun212/swift-windows,shahmishal/swift,ahoppen/swift,return/swift,gottesmm/swift,glessard/swift,uasys/swift,parkera/swift,atrick/swift,therealbnut/swift,codestergit/swift,hooman/swift,shajrawi/swift,karwa/swift,manavgabhawala/swift,arvedviehweger/swift,shahmishal/swift,jckarter/swift,kstaring/swift,lorentey/swift,gribozavr/swift,hughbe/swift,ahoppen/swift,modocache/swift,austinzheng/swift,roambotics/swift,harlanhaskins/swift,practicalswift/swift,bitjammer/swift,karwa/swift,ben-ng/swift,uasys/swift,ben-ng/swift,calebd/swift,alblue/swift,aschwaighofer/swift,KrishMunot/swift,felix91gr/swift,swiftix/swift,djwbrown/swift,roambotics/swift,huonw/swift,codestergit/swift,shahmishal/swift,ken0nek/swift,OscarSwanros/swift,deyton/swift,huonw/swift,lorentey/swift,practicalswift/swift,SwiftAndroid/swift,gribozavr/swift,uasys/swift,lorentey/swift,roambotics/swift,felix91gr/swift,tardieu/swift,russbishop/swift,tjw/swift,atrick/swift,austinzheng/swift,jckarter/swift,gregomni/swift,ken0nek/swift,sschiau/swift,adrfer/swift,kperryua/swift,natecook1000/swift,codestergit/swift,OscarSwanros/swift,devincoughlin/swift,ahoppen/swift,KrishMunot/swift,therealbnut/swift,nathawes/swift,CodaFi/swift,tinysun212/swift-windows,hughbe/swift,natecook1000/swift,russbishop/swift,xedin/swift,jtbandes/swift,ahoppen/swift,slavapestov/swift,xwu/swift,airspeedswift/swift,zisko/swift,dduan/swift,dreamsxin/swift,jckarter/swift,brentdax/swift,devincoughlin/swift,jopamer/swift,slavapestov/swift,KrishMunot/swift,karwa/swift,xwu/swift,return/swift,dreamsxin/swift,OscarSwanros/swift,slavapestov/swift,djwbrown/swift,huonw/swift,russbishop/swift,airspeedswift/swift,practicalswift/swift,nathawes/swift,jckarter/swift,allevato/swift,austinzheng/swift,SwiftAndroid/swift,tjw/swift,harlanhaskins/swift,JaSpa/swift,calebd/swift,practicalswift/swift,alblue/swift,arvedviehweger/swift,amraboelela/swift,practicalswift/swift,IngmarStein/swift,JaSpa/swift,uasys/swift,kperryua/swift,gottesmm/swift,ahoppen/swift,airspeedswift/swift,xwu/swift,deyton/swift,frootloops/swift,ken0nek/swift,Jnosh/swift,brentdax/swift,shahmishal/swift,ken0nek/swift,IngmarStein/swift,bitjammer/swift,swiftix/swift,atrick/swift,codestergit/swift,glessard/swift,stephentyrone/swift,CodaFi/swift,gottesmm/swift,hughbe/swift,IngmarStein/swift,karwa/swift,deyton/swift,uasys/swift,calebd/swift,rudkx/swift,alblue/swift,stephentyrone/swift,aschwaighofer/swift,huonw/swift,Jnosh/swift,calebd/swift,therealbnut/swift,gribozavr/swift,return/swift,SwiftAndroid/swift,djwbrown/swift,hughbe/swift,benlangmuir/swift,tjw/swift,karwa/swift,tinysun212/swift-windows,allevato/swift,OscarSwanros/swift,manavgabhawala/swift,manavgabhawala/swift,JaSpa/swift,manavgabhawala/swift,JGiola/swift,parkera/swift,kstaring/swift,hughbe/swift,nathawes/swift,adrfer/swift,austinzheng/swift,frootloops/swift,natecook1000/swift,manavgabhawala/swift,glessard/swift,bitjammer/swift,natecook1000/swift,hughbe/swift,tkremenek/swift,arvedviehweger/swift,calebd/swift,codestergit/swift,huonw/swift,jmgc/swift,karwa/swift,rudkx/swift,tardieu/swift,milseman/swift,CodaFi/swift,tkremenek/swift,johnno1962d/swift,parkera/swift,tardieu/swift,airspeedswift/swift,alblue/swift,roambotics/swift,xedin/swift,glessard/swift,arvedviehweger/swift,harlanhaskins/swift,gribozavr/swift,apple/swift,natecook1000/swift,benlangmuir/swift,gottesmm/swift,dduan/swift,frootloops/swift,djwbrown/swift,modocache/swift,gottesmm/swift,djwbrown/swift,tinysun212/swift-windows,gottesmm/swift,felix91gr/swift,sschiau/swift,sschiau/swift,jmgc/swift,zisko/swift,allevato/swift,aschwaighofer/swift,johnno1962d/swift,benlangmuir/swift,kstaring/swift,jckarter/swift,calebd/swift,apple/swift,gribozavr/swift,johnno1962d/swift,lorentey/swift,danielmartin/swift,jtbandes/swift,glessard/swift,KrishMunot/swift,milseman/swift,SwiftAndroid/swift,kperryua/swift,kstaring/swift,jmgc/swift,xedin/swift,aschwaighofer/swift,danielmartin/swift,kstaring/swift,JaSpa/swift,allevato/swift,manavgabhawala/swift,russbishop/swift,ken0nek/swift,JaSpa/swift,gregomni/swift,swiftix/swift,modocache/swift,CodaFi/swift,felix91gr/swift,modocache/swift,stephentyrone/swift,JaSpa/swift,ben-ng/swift,rudkx/swift,shajrawi/swift,amraboelela/swift,gregomni/swift,dduan/swift,xedin/swift,shajrawi/swift,apple/swift,devincoughlin/swift,benlangmuir/swift,slavapestov/swift,shahmishal/swift,frootloops/swift,return/swift,xedin/swift,KrishMunot/swift,djwbrown/swift,parkera/swift,Jnosh/swift,natecook1000/swift,deyton/swift,shajrawi/swift,ken0nek/swift,parkera/swift,russbishop/swift,tkremenek/swift,zisko/swift,benlangmuir/swift,arvedviehweger/swift,ben-ng/swift,airspeedswift/swift,JaSpa/swift,milseman/swift,devincoughlin/swift,jopamer/swift,ben-ng/swift,xedin/swift,gregomni/swift,nathawes/swift,dduan/swift,austinzheng/swift,gribozavr/swift,tjw/swift,kstaring/swift,huonw/swift,tinysun212/swift-windows,xwu/swift,natecook1000/swift,apple/swift,practicalswift/swift,gribozavr/swift,karwa/swift,austinzheng/swift,karwa/swift,allevato/swift,Jnosh/swift,modocache/swift,kperryua/swift,tkremenek/swift,slavapestov/swift,swiftix/swift,johnno1962d/swift,slavapestov/swift,sschiau/swift,tjw/swift,gregomni/swift,shajrawi/swift,frootloops/swift,xwu/swift,aschwaighofer/swift,zisko/swift,harlanhaskins/swift,SwiftAndroid/swift,adrfer/swift,shajrawi/swift,jckarter/swift,JGiola/swift,aschwaighofer/swift,KrishMunot/swift,roambotics/swift,swiftix/swift,jtbandes/swift,rudkx/swift,apple/swift,tkremenek/swift,tinysun212/swift-windows,harlanhaskins/swift,gmilos/swift,manavgabhawala/swift,therealbnut/swift,adrfer/swift,swiftix/swift,russbishop/swift,jopamer/swift,shahmishal/swift,parkera/swift,jtbandes/swift,hooman/swift,kperryua/swift,tjw/swift,alblue/swift,milseman/swift,milseman/swift,zisko/swift,jtbandes/swift,adrfer/swift,ben-ng/swift,deyton/swift,lorentey/swift,johnno1962d/swift,JGiola/swift,djwbrown/swift,hooman/swift,ben-ng/swift,modocache/swift,devincoughlin/swift,dduan/swift,gottesmm/swift,hooman/swift,IngmarStein/swift,lorentey/swift,alblue/swift,danielmartin/swift,gmilos/swift,brentdax/swift,CodaFi/swift,brentdax/swift,felix91gr/swift,stephentyrone/swift,shahmishal/swift,airspeedswift/swift,russbishop/swift,ken0nek/swift,alblue/swift,JGiola/swift,deyton/swift,danielmartin/swift,kperryua/swift,codestergit/swift,Jnosh/swift,therealbnut/swift,jtbandes/swift,amraboelela/swift,hooman/swift,devincoughlin/swift,Jnosh/swift,jckarter/swift,atrick/swift,amraboelela/swift,OscarSwanros/swift,therealbnut/swift,xwu/swift,arvedviehweger/swift,codestergit/swift,therealbnut/swift,felix91gr/swift,nathawes/swift,milseman/swift,milseman/swift,OscarSwanros/swift,jmgc/swift,allevato/swift,hooman/swift,johnno1962d/swift,glessard/swift,OscarSwanros/swift,JGiola/swift,frootloops/swift,return/swift,lorentey/swift,tardieu/swift,danielmartin/swift,uasys/swift,amraboelela/swift,zisko/swift,tkremenek/swift,amraboelela/swift,lorentey/swift,rudkx/swift,rudkx/swift,devincoughlin/swift,danielmartin/swift,stephentyrone/swift,aschwaighofer/swift,return/swift,tkremenek/swift,dduan/swift,IngmarStein/swift,adrfer/swift,Jnosh/swift,felix91gr/swift,SwiftAndroid/swift,roambotics/swift,gmilos/swift,parkera/swift,danielmartin/swift,jtbandes/swift,shahmishal/swift,brentdax/swift,shajrawi/swift,swiftix/swift,SwiftAndroid/swift,modocache/swift,kstaring/swift,jopamer/swift,jopamer/swift,bitjammer/swift,sschiau/swift,gmilos/swift,CodaFi/swift,atrick/swift,xwu/swift,huonw/swift,jmgc/swift,tardieu/swift,practicalswift/swift,tjw/swift,tardieu/swift,atrick/swift,uasys/swift,stephentyrone/swift,tinysun212/swift-windows,JGiola/swift,practicalswift/swift,benlangmuir/swift,KrishMunot/swift,johnno1962d/swift,shajrawi/swift,jopamer/swift,jmgc/swift,xedin/swift,slavapestov/swift,nathawes/swift,calebd/swift,devincoughlin/swift,gribozavr/swift,jmgc/swift,deyton/swift,bitjammer/swift,sschiau/swift,dduan/swift,IngmarStein/swift,amraboelela/swift,apple/swift,airspeedswift/swift,harlanhaskins/swift,gregomni/swift,brentdax/swift,parkera/swift,jopamer/swift,xedin/swift,return/swift,bitjammer/swift,kperryua/swift,frootloops/swift,gmilos/swift,CodaFi/swift