Commit a8a4436f authored by Wout De Nolf's avatar Wout De Nolf
Browse files

inspect.getargspec is deprecated

parent 65f64dc7
Pipeline #52178 passed with stages
in 2 minutes and 10 seconds
......@@ -101,7 +101,7 @@ class _OWEwoksWidgetMetaClass(WidgetMetaClass):
# orangewidget.widget.WidgetMetaClass. This was before split of the two
# projects. Parameter name "openclass" is undefined on the old version
ow_build_opts = {}
if "openclass" in inspect.getargspec(WidgetMetaClass)[0]:
if "openclass" in inspect.signature(WidgetMetaClass).parameters:
ow_build_opts["openclass"] = True
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment