From 156375861f191f51f4e97ce25cd4d39f8025f90b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 27 May 2009 15:47:11 +0000 Subject: - A paster command has been added named "bfgshell". This command can be used to get an interactive prompt with your BFG root object in the global namespace. E.g.:: bin/paster bfgshell /path/to/myapp.ini myapp See the ``Project`` chapter in the BFG documentation for more information. --- repoze/bfg/registry.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'repoze/bfg/registry.py') diff --git a/repoze/bfg/registry.py b/repoze/bfg/registry.py index b9397e7da..46db57c9e 100644 --- a/repoze/bfg/registry.py +++ b/repoze/bfg/registry.py @@ -112,9 +112,7 @@ registry_manager = FakeRegistryManager() deprecated('registry_manager', 'As of repoze.bfg 0.9, any import of registry_manager from' '``repoze.bfg.registry`` is ' - 'deprecated. Instead, if you are trying to push a BFG ' - 'application registry into a registry_manager within a "debug" ' - 'script, call ``app.get_root(environ)``, which has the side ' - 'effect of pushing the current registry into a thread local ' - 'stack. ``registry_manager`` will disappear in a later ' - 'release of repoze.bfg') + 'deprecated. If you are trying to use the registry manager ' + 'within a "debug" script of your own making, use the ``bfgshell`` ' + 'paster command instead ``registry_manager`` will disappear in ' + 'a later release of repoze.bfg') -- cgit v1.2.3