commit | 1dd9a261d81be865a8311b39520ccc185e108add | [log] [tgz] |
---|---|---|
author | Matthew Treinish <mtreinish@kortar.org> | Wed Feb 01 15:19:52 2017 -0500 |
committer | Jordan Pittier <jordan.pittier@scality.com> | Thu Feb 02 16:52:22 2017 +0000 |
tree | 665718661e12751d4dfc2a3ba2c9903b8af3ef42 | |
parent | 8c8943aa45d0a6428fdd4e32aa4e3bd71f39d050 [diff] |
Fix map usage on py3 in v2 test_volumes_snapshots_list This commit fixes the usage around map in test_snapshot_list_param_marker(). In py2 map() returns a list, but in py3 map() returns an map iterator. To work around this difference simply use a list comprehension instead. Change-Id: I0219ee7ac35d7389263af67eb0dde2b0f96ea22f