web2py/web2py — pull request #565 by niphlod (2014-12-18 22:50:41+00:00)
Title: better assignment (tasks go to not running workers only). Thanks @PengfeiYu

- pep8 adjustments
- tasks were assigned to all ACTIVE workers... if a worker is busy processing a task,
there's no point on assigning tasks to it