remove deprecation warnings

This commit is contained in:
Andrey Cizov
2019-07-13 16:12:59 +01:00
committed by Jacob Alexander
parent 423e4f1f8c
commit e8662a1dc9

View File

@@ -1814,7 +1814,7 @@ cdef class Promise:
argspec = None argspec = None
try: try:
argspec = _inspect.getargspec(func) argspec = _inspect.getfullargspec(func)
except: except:
pass pass
if argspec: if argspec:
@@ -1877,7 +1877,7 @@ cdef class _VoidPromise:
argspec = None argspec = None
try: try:
argspec = _inspect.getargspec(func) argspec = _inspect.getfullargspec(func)
except: except:
pass pass
if argspec: if argspec:
@@ -1950,7 +1950,7 @@ cdef class _RemotePromise:
argspec = None argspec = None
try: try:
argspec = _inspect.getargspec(func) argspec = _inspect.getfullargspec(func)
except: except:
pass pass
if argspec: if argspec: