fix(bench-console): Show only apps in namespace

This commit is contained in:
Gavin D'souza 2021-05-04 18:09:53 +05:30
parent bcbc0d0a7c
commit 3c1b6c66d9

View file

@ -502,6 +502,7 @@ def console(context):
locals()[app] = __import__(app)
except ModuleNotFoundError:
failed_to_import.append(app)
all_apps.remove(app)
print("Apps in this namespace:\n{}".format(", ".join(all_apps)))
if failed_to_import: