Fix typos

Change-Id: Ifd975f2cb5729b03470a4061dc8de8cf226508db
This commit is contained in:
Flavio Percoco 2014-07-08 15:45:26 +02:00
parent d30fcc61eb
commit e4a2757145

View File

@ -35,12 +35,12 @@ class DataDriver(storage.DataDriverBase):
self.sqlalchemy_conf = self.conf[options.SQLALCHEMY_GROUP]
def _sqlite_on_connect(self, conn, record):
# NOTE(flaper87): This is necesary in order
# NOTE(flaper87): This is necessary in order
# to ensure FK are treated correctly by sqlite.
conn.execute('pragma foreign_keys=ON')
def _mysql_on_connect(self, conn, record):
# NOTE(flaper87): This is necesary in order
# NOTE(flaper87): This is necessary in order
# to ensure that all date operations in mysql
# happen in UTC, `now()` for example.
conn.query('SET time_zone = "+0:00"')