Skip to content

Commit b622f7a

Browse files
committed
fix: updated deprecation
1 parent c71f43b commit b622f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/RequestManagementSystem/private/RequestValidator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def addValidator(cls, fcnObj):
139139
"""add `fcnObj` validator"""
140140
if not callable(fcnObj):
141141
return S_ERROR("supplied argument is not callable")
142-
args = inspect.getargspec(fcnObj).args
142+
args = inspect.getfullargspec(fcnObj).args
143143
if len(args) not in (1, 2):
144144
return S_ERROR("wrong number of arguments for supplied function object")
145145
cls.validator = cls.validator + tuple(

0 commit comments

Comments
 (0)