Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/m/a/madcow-HEAD/contrib/django-memebot/gruntle/memebot/feeds/__init__.py   madcow(Download)
from gruntle.memebot.models import SerializedData, Link
from gruntle.memebot.decorators import logged, locked
from gruntle.memebot.utils import AtomicWrite, first, plural, text, rss
 
class LinkItem(rss.Item):
def run(logger, force=False):
    """Rebuild all feeds"""
    feeds = get_feeds()
    logger.info('Rebuilding %s', plural(len(feeds), 'feed'))
    published_links = Link.objects.filter(state='published').order_by('-published')