Mercurial > hg > Feedworm
view feedupdate.py @ 239:a15b3ee791a1
Automated merge with https://xanthippe.duckdns.org/hg/Feedworm
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sat, 25 Apr 2015 04:10:12 +0200 |
parents | f07cf25224a4 |
children |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- import BackendFactory import logging if __name__ == "__main__": logFormat = '%(asctime)s ' + logging.BASIC_FORMAT logging.basicConfig(format=logFormat, level=logging.DEBUG) backend = BackendFactory.createBackend() backend.updateAllFeeds() backend.expireFeedEntries() backend.dispose()