more API updates
authorAdam Glasgall <adam@crossproduct.net>
Fri, 22 Mar 2013 05:07:30 +0000 (22:07 -0700)
committerAdam Glasgall <adam@crossproduct.net>
Fri, 22 Mar 2013 05:07:30 +0000 (22:07 -0700)
debian/changelog
python/database/models.py

index 9776bf4..c644b4d 100644 (file)
@@ -1,3 +1,9 @@
+invirt-database (0.2.8~glasgall8) precise; urgency=low
+
+  * More API updates
+
+ -- Adam Glasgall <glasgall@mit.edu>  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
index 236598a..dc87e3b 100644 (file)
@@ -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),