Refactor: extract function
Refactor: extract function

Scifabric/pybossa,inteligencia-coletiva-lsd/pybossa,geotagx/pybossa,inteligencia-coletiva-lsd/pybossa,OpenNewsLabs/pybossa,jean/pybossa,OpenNewsLabs/pybossa,PyBossa/pybossa,PyBossa/pybossa,jean/pybossa,geotagx/pybossa,Scifabric/pybossa