From 64899879b001d08efd5b62b97daa85d5c825c1ee Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 17 May 2026 13:02:51 +0200 Subject: reformat everything for fun --- project/utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'project/utils.py') diff --git a/project/utils.py b/project/utils.py index b96250c..08afef5 100644 --- a/project/utils.py +++ b/project/utils.py @@ -52,7 +52,8 @@ def setup_logging(): level=logging.INFO, # Log to stdout, because that's where subprocess's output goes (so that # they don't get interleaved). - stream=sys.stdout) + stream=sys.stdout, + ) try: yield except Exception as e: @@ -126,5 +127,7 @@ def retry(exc_type, timeout=5, tries=3, backoff=2): current_timeout *= backoff continue raise + return func2 + return wrapper -- cgit v1.3