Remove config.SHA1 in favour of build_info.SHA1
This commit is contained in:
parent
9959848d74
commit
975eacc969
|
@ -2,7 +2,6 @@ import os
|
||||||
import random
|
import random
|
||||||
import socket
|
import socket
|
||||||
import string
|
import string
|
||||||
from app import build_info
|
|
||||||
from ast import literal_eval
|
from ast import literal_eval
|
||||||
from typing import Callable, List
|
from typing import Callable, List
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
@ -10,7 +9,6 @@ from urllib.parse import urlparse
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
|
|
||||||
SHA1 = build_info.SHA1
|
|
||||||
ROOT_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
ROOT_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from app.config import SHA1
|
from app.build_info import SHA1
|
||||||
from app.monitor.base import monitor_bp
|
from app.monitor.base import monitor_bp
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -41,12 +41,12 @@ from app.admin_model import (
|
||||||
)
|
)
|
||||||
from app.api.base import api_bp
|
from app.api.base import api_bp
|
||||||
from app.auth.base import auth_bp
|
from app.auth.base import auth_bp
|
||||||
|
from app.build_info import SHA1
|
||||||
from app.config import (
|
from app.config import (
|
||||||
DB_URI,
|
DB_URI,
|
||||||
FLASK_SECRET,
|
FLASK_SECRET,
|
||||||
SENTRY_DSN,
|
SENTRY_DSN,
|
||||||
URL,
|
URL,
|
||||||
SHA1,
|
|
||||||
PADDLE_MONTHLY_PRODUCT_ID,
|
PADDLE_MONTHLY_PRODUCT_ID,
|
||||||
FLASK_PROFILER_PATH,
|
FLASK_PROFILER_PATH,
|
||||||
FLASK_PROFILER_PASSWORD,
|
FLASK_PROFILER_PASSWORD,
|
||||||
|
|
Loading…
Reference in a new issue