python: bulk convert zip to list
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 10 Apr 2018 03:49:40 +0000 (15:49 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 13 Apr 2018 05:27:12 +0000 (07:27 +0200)
commit5258add3aaf9b9f077d4629355afc7b35cc58cd1
tree1c4c77de131520cfab2291bd73270b23625b3782
parent8432ca2b48385e4372fed306329f03185b46a620
python: bulk convert zip to list

In py3, zip will return a iterator other than a list.
Convert it to a list to support both py2 and py3.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/emulate/traffic.py
python/samba/tests/graph.py