Spelling errors and stuff

This commit is contained in:
Jessica Lucci
2013-05-20 09:51:02 -05:00
parent 8956c75510
commit b14d0ba100
4 changed files with 7 additions and 5 deletions

Binary file not shown.

View File

@@ -1,4 +1,4 @@
i# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4

View File

@@ -20,7 +20,12 @@
"""Session Handling for SQLAlchemy backend."""
import logging
import sqlalchemy.orm
import sqlalchemy.engine
import sqlalchemy.interfaces
import sqlalchemy
from sqlalchemy.pool import NullPool
from taskflow.db import api as db_api
@@ -76,10 +81,7 @@ def get_engine():
if "sqlite" in connection_dict.drivername:
engine_args['poolclass'] = NullPool
if "mysql" in connection_dict.drivername:
engine_args['listeners'] = [MySQLPingListener()]
_ENGINE = sqlqlchemy.create_engine(_get_sql_connection(),
_ENGINE = sqlalchemy.create_engine(_get_sql_connection(),
**engine_args)
#TODO: Check to make sure engine connected