From 3c1b6c66d9125124ea7cfb7bbebd3ffb4ed6d39b Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Tue, 4 May 2021 18:09:53 +0530 Subject: [PATCH] fix(bench-console): Show only apps in namespace --- frappe/commands/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/commands/utils.py b/frappe/commands/utils.py index 089cffc930..b569c360d2 100644 --- a/frappe/commands/utils.py +++ b/frappe/commands/utils.py @@ -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: