From: Ant Zucaro Date: Thu, 31 Mar 2011 21:05:39 +0000 (-0400) Subject: Do not use Zope transaction manager. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cb29a7881432f4b009e49e7823e62349872b0974;p=xonotic%2Fxonstat.git Do not use Zope transaction manager. --- diff --git a/xonstat/models.py b/xonstat/models.py index af908a8..57f3202 100644 --- a/xonstat/models.py +++ b/xonstat/models.py @@ -10,9 +10,8 @@ from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import scoped_session from sqlalchemy.orm import sessionmaker -from zope.sqlalchemy import ZopeTransactionExtension -DBSession = scoped_session(sessionmaker(extension=ZopeTransactionExtension())) +DBSession = scoped_session(sessionmaker()) Base = declarative_base() def initialize_sql(engine):