docker: fix import order on wait_for_db
This commit is contained in:
parent
10d3f9ac2f
commit
2c5d6e8187
|
@ -2,11 +2,13 @@
|
||||||
"""This file needs to be run from the root of the project to correctly
|
"""This file needs to be run from the root of the project to correctly
|
||||||
import passbook. This is done by the dockerfile."""
|
import passbook. This is done by the dockerfile."""
|
||||||
from time import sleep
|
from time import sleep
|
||||||
from psycopg2 import connect, OperationalError
|
|
||||||
from passbook.lib.config import CONFIG
|
from psycopg2 import OperationalError, connect
|
||||||
from structlog import get_logger
|
|
||||||
from redis import Redis
|
from redis import Redis
|
||||||
from redis.exceptions import RedisError
|
from redis.exceptions import RedisError
|
||||||
|
from structlog import get_logger
|
||||||
|
|
||||||
|
from passbook.lib.config import CONFIG
|
||||||
|
|
||||||
LOGGER = get_logger()
|
LOGGER = get_logger()
|
||||||
|
|
||||||
|
|
Reference in New Issue