ascmhl/ascmhl-0.9.3-python-click-8.patch

25 lines
874 B
Diff

diff -Nru ascmhl-0.9.3.orig/ascmhl/cli/ascmhl.py ascmhl-0.9.3/ascmhl/cli/ascmhl.py
--- ascmhl-0.9.3.orig/ascmhl/cli/ascmhl.py 2022-09-06 12:51:59.000000000 +0200
+++ ascmhl-0.9.3/ascmhl/cli/ascmhl.py 2024-01-08 10:28:38.362325370 +0100
@@ -27,7 +27,7 @@
pass
-@mhltool_cli.resultcallback()
+@mhltool_cli.result_callback()
def update(*args, **kwargs):
updater.join(timeout=1)
if updater.needs_update:
diff -Nru ascmhl-0.9.3.orig/ascmhl/cli/ascmhl_debug.py ascmhl-0.9.3/ascmhl/cli/ascmhl_debug.py
--- ascmhl-0.9.3.orig/ascmhl/cli/ascmhl_debug.py 2022-09-06 12:51:59.000000000 +0200
+++ ascmhl-0.9.3/ascmhl/cli/ascmhl_debug.py 2024-01-08 10:28:55.275355859 +0100
@@ -27,7 +27,7 @@
pass
-@mhldebugtool_cli.resultcallback()
+@mhldebugtool_cli.result_callback()
def update(*args, **kwargs):
updater.join(timeout=1)
if updater.needs_update: