Drop useless attribute assignment
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 07 Oct 2016 17:51:46 +0200
changeset 1626 fd932a779c3b
parent 1625 f75c007abed2
child 1627 c88820fa450e
Drop useless attribute assignment
entities/profile_generation.py
--- a/entities/profile_generation.py	Fri Oct 07 17:51:25 2016 +0200
+++ b/entities/profile_generation.py	Fri Oct 07 17:51:46 2016 +0200
@@ -836,7 +836,6 @@
 
     def dump_etree(self):
         """Return an XSD etree for the adapted SEDA profile."""
-        self.defined_content_types = set()
         root = self.element('xsd:schema', attributes=self.root_attributes)
         # self.element('xsd:import', parent=root,
         #              attributes={'namespace': 'http://www.w3.org/XML/1998/namespace',