From d65244d34c91feba6e96fc639118d31cdb7d2b0c Mon Sep 17 00:00:00 2001 From: MinRK Date: Wed, 17 Sep 2014 10:05:19 -0700 Subject: [PATCH] rename webapp_settings to tornado_settings deprecate `webapp_settings` More informative name to those who would actually use this feature. It sets overrides for the tornado global `settings` object. --- IPython/html/notebookapp.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/IPython/html/notebookapp.py b/IPython/html/notebookapp.py index c56658fe7..0c8b4c0a7 100644 --- a/IPython/html/notebookapp.py +++ b/IPython/html/notebookapp.py @@ -468,6 +468,13 @@ class NotebookApp(BaseIPythonApplication): """) webapp_settings = Dict(config=True, + help="DEPRECATED, use tornado_settings" + ) + def _webapp_settings_changed(self, name, old, new): + self.log.warn("\n webapp_settings is deprecated, use tornado_settings.\n") + self.tornado_settings = new + + tornado_settings = Dict(config=True, help="Supply overrides for the tornado.web.Application that the " "IPython notebook uses.")