--- a/cubicweb/devtools/fill.py Thu Apr 11 16:47:27 2019 +0200
+++ b/cubicweb/devtools/fill.py Thu Apr 11 20:15:09 2019 +0200
@@ -258,7 +258,7 @@
for attrname, attrvalue in classdict.items():
if callable(attrvalue):
if attrname.startswith('generate_') and \
- len(inspect.getargspec(attrvalue).args) < 2:
+ len(inspect.getfullargspec(attrvalue).args) < 2:
raise TypeError('generate_xxx must accept at least 1 argument')
setattr(_ValueGenerator, attrname, attrvalue)
return type.__new__(mcs, name, bases, classdict)