move function out of nesting
move function out of nesting

CulturePlex/pybossa,harihpr/tweetclickers,harihpr/tweetclickers,geotagx/geotagx-pybossa-archive,CulturePlex/pybossa,PyBossa/pybossa,geotagx/geotagx-pybossa-archive,PyBossa/pybossa,CulturePlex/pybossa,proyectos-analizo-info/pybossa-analizo-info,geotagx/geotagx-pybossa-archive,proyectos-analizo-info/pybossa-analizo-info,OpenNewsLabs/pybossa,Scifabric/pybossa,stefanhahmann/pybossa,proyectos-analizo-info/pybossa-analizo-info,inteligencia-coletiva-lsd/pybossa,stefanhahmann/pybossa,jean/pybossa,Scifabric/pybossa,geotagx/geotagx-pybossa-archive,jean/pybossa,geotagx/pybossa,OpenNewsLabs/pybossa,inteligencia-coletiva-lsd/pybossa,geotagx/geotagx-pybossa-archive,geotagx/pybossa