mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
switch to pep517 while here taken from upstream commit: https://github.com/torproject/nyx/commit/dcaddf2ab PR: 281337 Reported by: mdw Approved by: maintainer timeout
11 lines
405 B
Python
11 lines
405 B
Python
--- test/__init__.py.orig 2024-11-18 07:14:15 UTC
|
|
+++ test/__init__.py
|
|
@@ -94,7 +94,7 @@ def render(func, *args, **kwargs):
|
|
nyx.curses.CURSES_SCREEN.erase()
|
|
start_time = time.time()
|
|
|
|
- func_args = inspect.getargspec(func).args
|
|
+ func_args = inspect.getfullargspec(func).args
|
|
|
|
if func_args[:1] == ['subwindow'] or func_args[:2] == ['self', 'subwindow']:
|
|
def _draw(subwindow):
|