def _update_podcasts(): to_update = Podcast.get_update_needed() i = 1 for podcast in to_update: print "Updating the %snd podcast" % i i += 1 _update_podcast.s(url=podcast.url).apply_async()