summaryrefslogtreecommitdiff
path: root/swiftclient/client.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@enovance.com>2014-03-24 18:17:44 +0100
committerVictor Stinner <victor.stinner@enovance.com>2014-03-24 18:17:44 +0100
commit6d5a4749b5df9101dd5872987d3458b4d9c0df8a (patch)
tree8999a6883cdba020ff7ba7644d87e3fe9d4093e9 /swiftclient/client.py
parent070dd48c315b63e9ba75fc1020922222c985b194 (diff)
downloadpython-swiftclient-6d5a4749b5df9101dd5872987d3458b4d9c0df8a.tar.gz
Python 3: cast map() result to list
On Python 3, map() returns a generator, not a list. Cast explicitly the result of map() to a list to get a list on Python 2 and Python 3. The cast is useless in Python 2, but it doesn't hurt performances: it's just a unit test. Change-Id: I87486b7dbc42507a6fd7886748a2e09735b6fc5b
Diffstat (limited to 'swiftclient/client.py')
0 files changed, 0 insertions, 0 deletions