Commit c806c319 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

STY: create application without logger in rst generation to avoid spam during compilation

parent 0221e982
......@@ -365,7 +365,7 @@ def render_deprecation_string(app):
def render_application(appname, allapps):
"Render app to rst"
app = otbApplication.Registry.CreateApplication(appname)
app = otbApplication.Registry.CreateApplicationWithoutLogger(appname)
# TODO: remove this when bug 440 is fixed
app.Init()
......@@ -388,7 +388,7 @@ def render_application(appname, allapps):
return output
def GetApplicationTags(appname):
app = otbApplication.Registry.CreateApplication(appname)
app = otbApplication.Registry.CreateApplicationWithoutLogger(appname)
return app.GetDocTags()
def GenerateRstForApplications(rst_dir):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment