From 6aecb033c0ee551054715f16d8d24b51c1c9a259 Mon Sep 17 00:00:00 2001 From: Renata Date: Wed, 9 Oct 2024 19:45:57 -0400 Subject: [PATCH] chore: flake fix --- taf/api/dependencies.py | 2 +- taf/tools/repo/__init__.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/taf/api/dependencies.py b/taf/api/dependencies.py index ffe3ff09..3868a527 100644 --- a/taf/api/dependencies.py +++ b/taf/api/dependencies.py @@ -17,7 +17,7 @@ from taf.exceptions import TAFError from taf.git import GitRepository from taf.log import taf_logger -from taf.taf.tools.repo import UpdateConfig +from taf.tools.repo import UpdateConfig from taf.updater.updater import OperationType, clone_repository diff --git a/taf/tools/repo/__init__.py b/taf/tools/repo/__init__.py index 4e4908d6..ec257c89 100644 --- a/taf/tools/repo/__init__.py +++ b/taf/tools/repo/__init__.py @@ -51,6 +51,7 @@ def _call_updater(config, format_output): taf_logger.error(str(e)) sys.exit(1) + def start_profiling(): import cProfile import atexit