From 2cae6596eb63d2ddb381f71e344f4bb7a03d1fa0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 1 Jan 2023 23:01:08 +0100 Subject: [PATCH] core: cleanup Signed-off-by: Jens Langhammer --- authentik/core/expression/evaluator.py | 1 - authentik/stages/email/tests/test_templates.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/authentik/core/expression/evaluator.py b/authentik/core/expression/evaluator.py index 85586c840..53a147edd 100644 --- a/authentik/core/expression/evaluator.py +++ b/authentik/core/expression/evaluator.py @@ -1,5 +1,4 @@ """Property Mapping Evaluator""" -from traceback import format_tb from typing import Optional from django.db.models import Model diff --git a/authentik/stages/email/tests/test_templates.py b/authentik/stages/email/tests/test_templates.py index 0e7d6d70a..2bd4d0c5e 100644 --- a/authentik/stages/email/tests/test_templates.py +++ b/authentik/stages/email/tests/test_templates.py @@ -2,7 +2,7 @@ from os import chmod, unlink from pathlib import Path from shutil import rmtree -from tempfile import gettempdir, mkdtemp, mkstemp +from tempfile import mkdtemp, mkstemp from typing import Any from django.conf import settings