docker: fix import order on wait_for_db

This commit is contained in:
Jens Langhammer 2020-05-16 22:56:14 +02:00
parent 10d3f9ac2f
commit 2c5d6e8187

View file

@ -2,11 +2,13 @@
"""This file needs to be run from the root of the project to correctly
import passbook. This is done by the dockerfile."""
from time import sleep
from psycopg2 import connect, OperationalError
from passbook.lib.config import CONFIG
from structlog import get_logger
from psycopg2 import OperationalError, connect
from redis import Redis
from redis.exceptions import RedisError
from structlog import get_logger
from passbook.lib.config import CONFIG
LOGGER = get_logger()