comparison backend/sqlalchemy/util.py @ 119:04a730f9d07d backend

move all sqlalchemy related classes to the respective sub-package. use a backend to abstract from access to the data
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 21 Aug 2011 03:55:16 +0200
parents
children bb3c851b18b1
comparison
equal deleted inserted replaced
118:0e73adb2dec4 119:04a730f9d07d
1
2 import sys
3
4 def databaseLoggingEnabled():
5 loggingEnabled = False
6 for arg in sys.argv:
7 if arg == "--databaseLogging":
8 loggingEnabled = True
9 return loggingEnabled