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

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

src/m/a/madcow-HEAD/contrib/django-memebot/gruntle/memebot/management/commands/replay.py   madcow(Download)
                                                log.info('LINK: %s by %s @ %s', url, nick, created)
                                                try:
                                                    link = Link.objects.add_link(url, nick, channel, 'irc',
                                                                                created=created, modified=created)
                                                    log.info('Processed link to: %r', link)

src/m/a/madcow-HEAD/madcow/modules/djmemebot.py   madcow(Download)
    def process_url(self, url, nick, source_name):
        from gruntle.memebot.models import Link
        from gruntle.memebot.exceptions import OldMeme, BlackListError
        try:
            link = Link.objects.add_link(url, nick.lower(), source_name.lower(), settings.PROTOCOL)