Fix AttributeHandler.get with no Attributes. Also make return_list=True return [] rather than [None]. Resolves #1866
This commit is contained in:
parent
ea07a81696
commit
bb5324ba52
3 changed files with 21 additions and 28 deletions
|
|
@ -223,7 +223,7 @@ def _run_code_snippet(caller, pycode, mode="eval", measure_time=False,
|
|||
sys.stdout = old_stdout
|
||||
sys.stderr = old_stderr
|
||||
|
||||
if not ret:
|
||||
if ret is None:
|
||||
return
|
||||
|
||||
for session in sessions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue