From: Adam Glasgall Date: Fri, 22 Mar 2013 05:07:30 +0000 (-0700) Subject: more API updates X-Git-Tag: 0.2.9~9 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/commitdiff_plain/9b8179e2ab0c8374a9b1ca3b2a14a9b2c3e99fee more API updates --- diff --git a/debian/changelog b/debian/changelog index 9776bf4..c644b4d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-database (0.2.8~glasgall8) precise; urgency=low + + * More API updates + + -- Adam Glasgall Thu, 21 Mar 2013 22:07:09 -0700 + invirt-database (0.2.8~glasgall7) precise; urgency=low * Add compatibility hack to work around removal of deprecated APIs diff --git a/python/database/models.py b/python/database/models.py index 236598a..dc87e3b 100644 --- a/python/database/models.py +++ b/python/database/models.py @@ -51,7 +51,7 @@ __all__ = ['meta', ] meta = ThreadLocalMetaData() -session = orm.scoped_session(orm.sessionmaker(transactional=False, autoflush=False)) +session = orm.scoped_session(orm.sessionmaker(autocommit=True, autoflush=False)) machine_table = Table('machines', meta, Column('machine_id', Integer, primary_key=True, nullable=False),