# HG changeset patch # User Dirk Olmes # Date 1314016014 -7200 # Node ID c923e4c57a814dc41fd2aee736bd0ac1d9b49565 # Parent 089ee60b28fba4932b3421e5e38ae9bfd7120f6f remove commented code diff -r 089ee60b28fb -r c923e4c57a81 util.py --- 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: