Fix exit for non Sqlite Databases

This commit is contained in:
Tim Bentley 2010-11-28 15:20:53 +00:00
parent 9fa384b57f
commit 132c678569

View File

@ -294,4 +294,5 @@ class Manager(object):
""" """
if self.is_dirty: if self.is_dirty:
engine = create_engine(self.db_url) engine = create_engine(self.db_url)
engine.execute("vacuum") if self.db_url.startswith(u'sqlite'):
engine.execute("vacuum")