chore: rename logging.py and redis.py to avoid circular imports

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
Leonidas Spyropoulos 2022-05-06 20:22:07 +01:00
parent b757e66997
commit 9c0f8f053e
No known key found for this signature in database
GPG key ID: 59E43E106B247368
32 changed files with 72 additions and 73 deletions

View file

@ -10,12 +10,12 @@ from sqlalchemy.orm import backref, relationship
import aurweb.config
import aurweb.models.account_type
import aurweb.schema
from aurweb import db, logging, schema, time, util
from aurweb import aur_logging, db, schema, time, util
from aurweb.models.account_type import AccountType as _AccountType
from aurweb.models.ban import is_banned
from aurweb.models.declarative import Base
logger = logging.get_logger(__name__)
logger = aur_logging.get_logger(__name__)
SALT_ROUNDS_DEFAULT = 12