ports/x11/arandr/files/patch-screenlayout_gui.py
Rodrigo Osorio cb8a650b35 x11/arandr: fix broken port
Fix the issue with deprecate call to inspect getargspec.
The change was done by upstream in the master branch,
but wasn't released yet.

PR:		279551
Approved by:	maintainer timeout
2024-07-17 14:10:41 +02:00

12 lines
342 B
Python

--- screenlayout/gui.py.orig 2024-06-06 09:08:21 UTC
+++ screenlayout/gui.py
@@ -45,7 +45,7 @@
A first argument called 'self' is passed through.
"""
- argnames = inspect.getargspec(function)[0]
+ argnames = inspect.getfullargspec(function)[0]
if argnames[0] == 'self':
has_self = True
argnames.pop(0)