Mercurial > hg > Feedworm
view backend/sqlalchemy/util.py @ 211:1ac0b8e2feae
wrap the individual feed update with an exception handler so that a sinlge broken feed doesn't halt the entire update process
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 12 Nov 2012 08:10:40 +0100 |
parents | 04a730f9d07d |
children | bb3c851b18b1 |
line wrap: on
line source
import sys def databaseLoggingEnabled(): loggingEnabled = False for arg in sys.argv: if arg == "--databaseLogging": loggingEnabled = True return loggingEnabled