m1n1.shell: Fix broken signature thing for some objects

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-08-29 01:36:13 +09:00
parent 63547f6fc9
commit 4df78129aa

View file

@ -168,7 +168,7 @@ def run_shell(locals, msg=None, exitmsg=None):
if callable(obj) and not isinstance(obj, property):
try:
desc = obj_name + str(signature(obj))
except ValueError:
except:
continue
qn = obj.__qualname__
if qn.find('.') > 0: