From 0024307e6c423567cf96752c3c2f5dc6e4b99398 Mon Sep 17 00:00:00 2001 From: Mariano Reingart Date: Mon, 15 Dec 2014 15:45:27 -0300 Subject: [PATCH] Fix debugger interaction due new DAL Originally, __all__ was used to filter DAL and Field globals, but now the new module doesn't explicity set that attribute, so this filter was removed. Note that using __dict__ as a replacement is not an option, as the new dal module exports a lot of common names like connection, base, etc. --- applications/admin/controllers/debug.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/applications/admin/controllers/debug.py b/applications/admin/controllers/debug.py index c5f9bd4f..8c8522ac 100644 --- a/applications/admin/controllers/debug.py +++ b/applications/admin/controllers/debug.py @@ -72,8 +72,7 @@ def interact(): f_globals = {} for name, value in env['globals'].items(): if name not in gluon.html.__all__ and \ - name not in gluon.validators.__all__ and \ - name not in gluon.dal.__all__: + name not in gluon.validators.__all__: f_globals[name] = pydoc.text.repr(value) else: f_locals = {}