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 <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2018-10-15 10:52:50 -05:00
parent b0166265a8
commit 4878259826
1 changed files with 1 additions and 1 deletions

View File

@ -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