view feedupdate.py @ 236:c5250fcc3881

remove a workaround along with its wrong explanation
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 26 Jan 2015 13:43:38 +0100
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()