Use sqlite3.Row in the datastore.

This commit is contained in:
Tomeu Vizoso 2007-03-01 18:59:36 +01:00
parent dbf2c0c1a2
commit 97d719f795

View File

@ -194,6 +194,7 @@ class DataStore(object):
except StandardError, e:
logging.info("Could not access the data store. Reason: '%s'. Exiting..." % e)
os._exit(1)
self._dbcx.row_factory = sqlite3.Row
def __del__(self):
self._dbcx.close()