From 364d8324379890b3b34b9f26138d8879c6d8a2a9 Mon Sep 17 00:00:00 2001 From: Jakub Frejlach Date: Mon, 12 Feb 2024 16:57:39 +0100 Subject: [PATCH] minor - remove unused leftover function --- griffon/__init__.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/griffon/__init__.py b/griffon/__init__.py index 00978d3..e0233c3 100644 --- a/griffon/__init__.py +++ b/griffon/__init__.py @@ -407,22 +407,6 @@ def wrapper(*args, **kwargs): return decorator -def progress_bar2( - func=None, -): - """progress bar decorator""" - if not func: - return partial(progress_bar) - - @wraps(func) - def wrapper(*args, **kwargs): - obj: dict = args[0].obj - with console_status(obj.get("NO_PROGRESS_BAR")) as operation_status: - func(*args, operation_status=operation_status, **kwargs) - - return wrapper - - def print_version(ctx, param, value): if not value or ctx.resilient_parsing: return