Commit 777c2f8b authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Remove useless attribute (one among many others...)

parent 90f48772
......@@ -57,7 +57,6 @@ class XmlVisitor:
"""Visitor used to generate xml cadbiom code when the model is exported."""
def __init__(self, model):
self.model_name = model.name
self.model = model
self.fact_list = []
self.xml = "" # string: xml representation of model
......@@ -196,7 +195,7 @@ class XmlVisitor:
# the default namespace (no prefix)
nsmap={None: self.model.xml_namespace}
)
xmodel = header.model(name=self.model_name)
xmodel = header.model(name=self.model.name)
self.current_element = xmodel
def create_xml_element(entity):
......
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