[elbe-devel] [PATCH 2/6] xsdtoasciidoc: fix wrong variable n->e for cardinality()
Torben Hohn
torben.hohn at linutronix.de
Tue Oct 1 21:12:16 CEST 2019
the actual parameter is e, not n.
fix it.
Signed-off-by: Torben Hohn <torben.hohn 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 a848a7f7c..46f0fd4e7 100644
--- a/elbepack/xsdtoasciidoc.mako
+++ b/elbepack/xsdtoasciidoc.mako
@@ -72,7 +72,7 @@ def element_doc(e):
_type = e.et.attrib["type"]
return "%s %s %s::\n%s" % (name,
genlink(_type),
- cardinality(n),
+ cardinality(e),
doc(e))
def attr_doc(a):
if "name" in a.et.attrib:
--
2.20.1
More information about the elbe-devel
mailing list