6635: retry of bug 6443, exec missing globals
svn: r21997
This commit is contained in:
parent
9503faed70
commit
77adb230c5
@ -346,7 +346,7 @@ class RemoveUnused(tool.Tool, ManagedWindow, UpdateCallback):
|
||||
editor_str = 'from gramps.gui.editors import %s as editor' % (
|
||||
self.tables[the_type]['editor']
|
||||
)
|
||||
exec(editor_str)
|
||||
exec(editor_str, globals())
|
||||
editor(self.dbstate, self.uistate, [], obj)
|
||||
except WindowActiveError:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user