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

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -365,7 +365,7 @@ def render_deprecation_string(app): ...@@ -365,7 +365,7 @@ def render_deprecation_string(app):
def render_application(appname, allapps): def render_application(appname, allapps):
"Render app to rst" "Render app to rst"
app = otbApplication.Registry.CreateApplication(appname) app = otbApplication.Registry.CreateApplicationWithoutLogger(appname)
# TODO: remove this when bug 440 is fixed # TODO: remove this when bug 440 is fixed
app.Init() app.Init()
...@@ -388,7 +388,7 @@ def render_application(appname, allapps): ...@@ -388,7 +388,7 @@ def render_application(appname, allapps):
return output return output
def GetApplicationTags(appname): def GetApplicationTags(appname):
app = otbApplication.Registry.CreateApplication(appname) app = otbApplication.Registry.CreateApplicationWithoutLogger(appname)
return app.GetDocTags() return app.GetDocTags()
def GenerateRstForApplications(rst_dir): 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