From bc943ce0413e55d9a4903aea95baad86d808bf47 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 3 Jan 2024 18:23:50 +0300 Subject: pylint fixes --- gn3/app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gn3/app.py b/gn3/app.py index cd78d34..3f1e6ee 100644 --- a/gn3/app.py +++ b/gn3/app.py @@ -2,8 +2,7 @@ import os import sys import logging -import getpass -import traceback +from pathlib import Path from typing import Dict from typing import Union @@ -53,7 +52,6 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask: if secrets_file and Path(secrets_file).exists(): app.config.from_envvar("GN3_SECRETS") # END: SECRETS - setup_app_handlers(app) # DO NOT log anything before this point logging.info("Guix Profile: '%s'.", os.environ.get("GUIX_PROFILE")) -- cgit 1.4.1