Mercurial > hg > Feedworm
view backend/sqlalchemy/util.py @ 223:f07cf25224a4
do not use python3 - the couchdb lib is not ready for it
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 22 May 2014 05:24:53 +0200 |
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