3d2d51b
Make range usage Python 3 compatible (#1014220) Range returns an iterator in Python 3, wrap it in list() so that code that expects a list keeps working.