Mercurial > hg > Feedworm
view backend/sqlalchemy/util.py @ 246:7c719c4f5655
Fix all remaining code style bugs
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 09 Jun 2015 02:45:29 +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