cleanup imports section and spacing in fpdb_db
This commit is contained in:
parent
ba663c231c
commit
bcecf643f2
|
@ -21,19 +21,18 @@ import re
|
|||
import sys
|
||||
import logging
|
||||
from time import time, strftime
|
||||
from Exceptions import *
|
||||
|
||||
use_pool = False
|
||||
try:
|
||||
import sqlalchemy.pool as pool
|
||||
use_pool = True
|
||||
except:
|
||||
except ImportError:
|
||||
logging.info("Not using sqlalchemy connection pool.")
|
||||
use_pool = False
|
||||
|
||||
|
||||
import fpdb_simple
|
||||
import FpdbSQLQueries
|
||||
from Exceptions import *
|
||||
|
||||
|
||||
class fpdb_db:
|
||||
MYSQL_INNODB = 2
|
||||
|
|
Loading…
Reference in New Issue
Block a user