mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
m1n1.shell: Fix broken signature thing for some objects
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
63547f6fc9
commit
4df78129aa
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue