From 4878259826d0630416ca2156ac628cdd2e8f9a3f Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Mon, 15 Oct 2018 10:52:50 -0500 Subject: [PATCH] Remove example of deprecated app.info Using the app instance for logging is deprecated. Thus updates example output to show using a logger instead. Change-Id: I060dbb528d303a00bc4b4b91a0816e35b561e07b Signed-off-by: Sean McGinnis --- doc/source/demo/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/demo/index.rst b/doc/source/demo/index.rst index 2a896af..f6400ca 100644 --- a/doc/source/demo/index.rst +++ b/doc/source/demo/index.rst @@ -64,7 +64,7 @@ Here's another example that's python code: def builder_inited(app): theme_dir = os.path.join(os.path.dirname(__file__), 'theme') - app.info('Using openstack theme from %s' % theme_dir) + LOG.info('Using openstack theme from %s' % theme_dir) # Insert our theme directory at the front of the search path and # force the theme setting to use the one in the package. This is # done here, instead of in setup(), because conf.py is read after