[elbe-devel] [PATCH 1/1] xsdtoasciidoc: dont set all docstrings to FIXME

Bastian Germann bage at linutronix.de
Thu Sep 26 20:33:19 CEST 2019


> the docindent function contains an error, and a catch all except:
> statement, resulting in, all docstrings in
> https://elbe-rfs.org/docs/sphinx/article-elbe-schema-reference.html
> being set to "FIXME - I have no documentation"
> 
> fix it, and make the schema reference useful again.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>  elbepack/xsdtoasciidoc.mako | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/xsdtoasciidoc.mako b/elbepack/xsdtoasciidoc.mako
> index 351f85382..a848a7f7c 100644
> --- a/elbepack/xsdtoasciidoc.mako
> +++ b/elbepack/xsdtoasciidoc.mako
> @@ -17,7 +17,7 @@ MINI = "{http://www.w3.org/2001/XMLSchema}minInclusive"
>  
>  def docindent(node, indent=0):
>    try:
> -    s = node.text(e.text(".//%s" % DOC))
> +    s = node.text(".//%s" % DOC)
>    except:
>      return "FIXME - I have no documentation"
>    else:
> 



More information about the elbe-devel mailing list