mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 09:11:50 -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
455 B
Python
11 lines
455 B
Python
--- nyx/panel/__init__.py.orig 2024-11-18 07:13:38 UTC
|
|
+++ nyx/panel/__init__.py
|
|
@@ -78,7 +78,7 @@ class KeyHandler(collections.namedtuple('Help', ['key'
|
|
is_match = self._key_func(key) if self._key_func else key.match(self.key)
|
|
|
|
if is_match:
|
|
- if inspect.getargspec(self._action).args == ['key']:
|
|
+ if inspect.getfullargspec(self._action).args == ['key']:
|
|
self._action(key)
|
|
else:
|
|
self._action()
|