Mercurial > hg > Feedworm
view backend/sqlalchemy/util.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 | bb3c851b18b1 |
children |
line wrap: on
line source
# -*- coding: utf-8 -*- import sys def databaseLoggingEnabled(): loggingEnabled = False for arg in sys.argv: if arg == "--databaseLogging": loggingEnabled = True return loggingEnabled