diff util.py @ 28:72dfae865899

better logging when updating feeds, handle entries that have no id
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 29 Apr 2010 07:04:42 +0200
parents 591ecc2a99bd
children 5813e3c10f14
line wrap: on
line diff
--- a/util.py	Thu Apr 29 06:47:47 2010 +0200
+++ b/util.py	Thu Apr 29 07:04:42 2010 +0200
@@ -15,7 +15,7 @@
 
 def createSession():
     databaseUrl = loadDatabaseUrl()
-    engine = create_engine(databaseUrl,echo=True)
+    engine = create_engine(databaseUrl,echo=False)
     Mapping.createMapping(engine)
     SessionMaker = sessionmaker(bind = engine)
     session = SessionMaker()