changeset 127:c923e4c57a81 backend

remove commented code
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 22 Aug 2011 14:26:54 +0200
parents 089ee60b28fb
children 32a173cb081c
files util.py
diffstat 1 files changed, 0 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/util.py	Mon Aug 22 14:04:42 2011 +0200
+++ b/util.py	Mon Aug 22 14:26:54 2011 +0200
@@ -5,25 +5,6 @@
 
 logger = logging.getLogger("database")
 
-# TODO remove this
-#def databaseLoggingEnabled():
-#    loggingEnabled = False
-#    for arg in sys.argv:
-#        if arg == "--databaseLogging":
-#            loggingEnabled = True
-#    return loggingEnabled
-
-# TODO remove this
-#def configureLogging():
-#    logging.basicConfig(level=logging.DEBUG)
-#
-#    sqlalchemyLogLevel = logging.ERROR
-#    if databaseLoggingEnabled():
-#        sqlalchemyLogLevel = logging.INFO
-#    logging.getLogger("sqlalchemy").setLevel(sqlalchemyLogLevel)
-#
-#    logging.getLogger("sqlalchemy.orm").setLevel(logging.WARN)
-
 def loadFeeds(session=None, filename="feeds.txt"):
     file = open(filename)
     for line in file: