Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
minor - remove unused leftover function
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubFrejlach committed Feb 12, 2024
1 parent ef8bdc4 commit 364d832
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions griffon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 364d832

Please sign in to comment.