arandr: replace inspect.getargspec() with inspect.getfullargspec()
This commit is contained in:
parent
68190a0223
commit
9b0890c7fd
|
@ -0,0 +1,13 @@
|
|||
diff --git a/screenlayout/gui.py b/screenlayout/gui.py
|
||||
index 275dbdf..bc598cf 100644
|
||||
--- a/screenlayout/gui.py
|
||||
+++ b/screenlayout/gui.py
|
||||
@@ -48,7 +48,7 @@ def actioncallback(function):
|
||||
|
||||
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)
|
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'arandr'
|
||||
pkgname=arandr
|
||||
version=0.1.10
|
||||
revision=7
|
||||
revision=8
|
||||
build_style=python3-module
|
||||
hostmakedepends="gettext python3-setuptools python3-docutils"
|
||||
depends="python3-gobject gtk+3 xrandr"
|
||||
checkdepends="${depends}"
|
||||
short_desc="Graphical frontend for XRandR"
|
||||
maintainer="mid-kid <esteve.varela@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
|
|
Loading…
Reference in New Issue