worker/tasks: Use iteration methods compatible with Python 3
worker/tasks: Use iteration methods compatible with Python 3

skylines-project/skylines,skylines-project/skylines,skylines-project/skylines,skylines-project/skylines