def update_feeds(self):
        log = logging.getLogger('django_vcs_watch.jobs.update_feeds')

        feeds = Feed.objects.find()

        for feed in feeds:
            log.debug('feed to update: %s' % feed._id)
            try:
                feed.update()
            except Exception, e:
                log.exception("can't update feed %s" % feed._id)
dataset/ETHPy150Open svetlyak40wt/django-vcs-watch/src/django_vcs_watch/jobs/hourly/update_feeds.py/Job.update_feeds/original